add AMD version of VectorAdd_OpenCL, next to MiniCL (has issues with workgroup size)

This commit is contained in:
erwin.coumans
2010-06-25 00:19:22 +00:00
parent 498da0721b
commit 5db1c008bd
7 changed files with 296 additions and 41 deletions

View File

@@ -0,0 +1,22 @@
# AppMiniCLVectorAdd is a very basic test for MiniCL.
ADD_DEFINITIONS(-DUSE_MINICL)
INCLUDE_DIRECTORIES(
${BULLET_PHYSICS_SOURCE_DIR}/src
)
LINK_LIBRARIES(
BulletMultiThreaded LinearMath
)
ADD_EXECUTABLE(AppVectorAdd_Mini
../MiniCL_VectorAdd.cpp
../VectorAddKernels.cl
)
IF (UNIX)
TARGET_LINK_LIBRARIES(AppVectorAdd_Mini pthread)
ENDIF(UNIX)