From 5cb40ed6e3a3430c2fb4b1c737f6431666623c7c Mon Sep 17 00:00:00 2001 From: "erwin.coumans" Date: Tue, 20 Dec 2011 18:03:04 +0000 Subject: [PATCH] Apply a patch that updates vertex position on GPU for the OpenCL version, by Dongsoo Han (saggita), work-in-progress Removed the unused OpenCL kernels Add example how to cache binary kernels, see SoftDemo compiled with OpenCL AMD using msvc/vs2008_opencl.bat --- msvc/premake4.lua | 2 ++ msvc/vs2008_opencl.bat | 8 ++++++++ 2 files changed, 10 insertions(+) create mode 100644 msvc/vs2008_opencl.bat diff --git a/msvc/premake4.lua b/msvc/premake4.lua index abb3f58d2..f8a386645 100644 --- a/msvc/premake4.lua +++ b/msvc/premake4.lua @@ -106,6 +106,8 @@ end --choose a particular OpenCL sdk, this is useful for distributing project files that just work for one OpenCL SDK if _OPTIONS["with-opencl-amd"] then include "../Demos/OpenCLClothDemo/AMD" + include "../Demos/OpenGL" + include "../Demos/SoftDemo/AMD" include "../src/BulletMultiThreaded/GpuSoftBodySolvers/OpenCL/AMD" end diff --git a/msvc/vs2008_opencl.bat b/msvc/vs2008_opencl.bat new file mode 100644 index 000000000..2772d9ffc --- /dev/null +++ b/msvc/vs2008_opencl.bat @@ -0,0 +1,8 @@ + + +premake4 --with-opencl-amd vs2008 + + +rename vs2008 vs2008_opencl_amd + +pause \ No newline at end of file