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:
@@ -106,6 +106,8 @@ end
|
|||||||
--choose a particular OpenCL sdk, this is useful for distributing project files that just work for one OpenCL SDK
|
--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
|
if _OPTIONS["with-opencl-amd"] then
|
||||||
include "../Demos/OpenCLClothDemo/AMD"
|
include "../Demos/OpenCLClothDemo/AMD"
|
||||||
|
include "../Demos/OpenGL"
|
||||||
|
include "../Demos/SoftDemo/AMD"
|
||||||
include "../src/BulletMultiThreaded/GpuSoftBodySolvers/OpenCL/AMD"
|
include "../src/BulletMultiThreaded/GpuSoftBodySolvers/OpenCL/AMD"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
8
msvc/vs2008_opencl.bat
Normal file
8
msvc/vs2008_opencl.bat
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
|
||||||
|
|
||||||
|
premake4 --with-opencl-amd vs2008
|
||||||
|
|
||||||
|
|
||||||
|
rename vs2008 vs2008_opencl_amd
|
||||||
|
|
||||||
|
pause
|
||||||
Reference in New Issue
Block a user