MiniCL includes a cross-platform run-time frontend based on pthreads, Win32 Threads, or libspe2 for Cell SPU. It is there, to bridge the gap until OpenCL is more widely available. See Bullet/Demos/VectorAdd, influenced by NVidia OpenCL Jumpstart Guide: http://developer.download.nvidia.com/OpenCL/NVIDIA_OpenCL_JumpStart_Guide.pdf
17 lines
236 B
CMake
17 lines
236 B
CMake
# AppMiniCLVectorAdd is a very basic test for MiniCL.
|
|
|
|
|
|
INCLUDE_DIRECTORIES(
|
|
${BULLET_PHYSICS_SOURCE_DIR}/src }
|
|
)
|
|
|
|
LINK_LIBRARIES(
|
|
BulletMultiThreaded LinearMath
|
|
)
|
|
|
|
ADD_EXECUTABLE(AppMiniCLVectorAdd
|
|
MiniCL_VectorAdd.cpp
|
|
MiniCL.cpp
|
|
)
|
|
|