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
This commit is contained in:
erwin.coumans
2011-12-20 18:03:04 +00:00
parent fff709635e
commit 5cb40ed6e3
2 changed files with 10 additions and 0 deletions

View File

@@ -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

8
msvc/vs2008_opencl.bat Normal file
View File

@@ -0,0 +1,8 @@
premake4 --with-opencl-amd vs2008
rename vs2008 vs2008_opencl_amd
pause