From 2901d4682e03e1e42ada0ae593bb6020b8326c79 Mon Sep 17 00:00:00 2001 From: erwincoumans Date: Thu, 30 Jan 2014 06:05:34 -0800 Subject: [PATCH] don't use the vendor OpenCL sdks (commented out in 'findOpenCL.lua' file), just use clew --- build3/findOpenCL.lua | 48 +++++++++++++++++++++---------------------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/build3/findOpenCL.lua b/build3/findOpenCL.lua index bbbfa3910..45688f87c 100644 --- a/build3/findOpenCL.lua +++ b/build3/findOpenCL.lua @@ -4,43 +4,43 @@ end function findOpenCL_Apple() - if os.is("macosx") then - return true - else +-- if os.is("macosx") then +-- return true +-- else return false - end +-- end end function findOpenCL_AMD() - local amdopenclpath = os.getenv("AMDAPPSDKROOT") - if (amdopenclpath) then - return true - end +-- local amdopenclpath = os.getenv("AMDAPPSDKROOT") +-- if (amdopenclpath) then +-- return true +-- end return false end function findOpenCL_NVIDIA() - local nvidiaopenclpath = os.getenv("CUDA_PATH") - if (nvidiaopenclpath) then - return true - end +-- local nvidiaopenclpath = os.getenv("CUDA_PATH") +-- if (nvidiaopenclpath) then +-- return true +-- end return false end function findOpenCL_Intel() - if os.is("Windows") then - local intelopenclpath = os.getenv("INTELOCLSDKROOT") - if (intelopenclpath) then - return true - end - end - if os.is("Linux") then - local intelsdk = io.open("/usr/include/CL/opencl.h","r") - if (intelsdk) then - return true; - end - end +-- if os.is("Windows") then +-- local intelopenclpath = os.getenv("INTELOCLSDKROOT") +-- if (intelopenclpath) then +-- return true +-- end +-- end +-- if os.is("Linux") then +-- local intelsdk = io.open("/usr/include/CL/opencl.h","r") +-- if (intelsdk) then +-- return true; +-- end +-- end return false end