remove duplicate data in b3Contact4 (now in btContact4Data shared between CPU/C++ and OpenCL) OpenCL kernels use #include "Bullet3Collision/NarrowPhaseCollision/shared/b3Contact4Data.h" Increase number of batches back to 250 (from 50), need to fix this hard coded number (see https://github.com/erwincoumans/bullet3/issues/12) Work towards GJK/EPA, in addition to SAT/clipping (early on)
34 lines
643 B
Lua
34 lines
643 B
Lua
function createProject(vendor)
|
|
|
|
hasCL = findOpenCL(vendor)
|
|
|
|
if (hasCL) then
|
|
|
|
project ("Test_OpenCL_kernel_launch_" .. vendor)
|
|
|
|
initOpenCL(vendor)
|
|
|
|
language "C++"
|
|
|
|
|
|
kind "ConsoleApp"
|
|
targetdir "../../../bin"
|
|
|
|
includedirs {"../../../src"}
|
|
|
|
files {
|
|
"main.cpp",
|
|
"../../../src/Bullet3OpenCL/Initialize/b3OpenCLUtils.cpp",
|
|
"../../../src/Bullet3Common/b3AlignedAllocator.cpp",
|
|
"../../../src/Bullet3OpenCL/Initialize/b3OpenCLUtils.h",
|
|
"../../../src/Bullet3Common/b3Logging.cpp",
|
|
}
|
|
|
|
end
|
|
end
|
|
createProject("clew")
|
|
createProject("Apple")
|
|
createProject("AMD")
|
|
createProject("Intel")
|
|
createProject("NVIDIA")
|