3 ${piglit_SOURCE_DIR}/tests/util
7 piglitutil_${piglit_target_api}
8 ${OPENCL_opencl_LIBRARY}
11 if(PIGLIT_HAS_POSIX_CLOCK_MONOTONIC AND HAVE_LIBRT)
15 function(piglit_cl_add_test)
16 piglit_add_executable(${ARGV})
17 endfunction(piglit_cl_add_test)
19 function(piglit_cl_add_custom_test name)
21 list(REMOVE_AT ARGV 0)
27 endfunction(piglit_cl_add_custom_test)
29 function(piglit_cl_add_api_test name)
31 list(REMOVE_AT ARGV 0)
37 endfunction(piglit_cl_add_api_test)
39 function(piglit_cl_add_program_test name)
41 list(REMOVE_AT ARGV 0)
47 endfunction(piglit_cl_add_program_test)
49 function(piglit_cl_add_interop_test name)
51 list(REMOVE_AT ARGV 0)
57 endfunction(piglit_cl_add_interop_test)
59 add_subdirectory (custom)
60 add_subdirectory (api)
61 add_subdirectory (program)
62 add_subdirectory (interop)