• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1set(MODULE_NAME BASIC)
2
3set(${MODULE_NAME}_SOURCES
4    main.cpp
5    test_fpmath.cpp
6    test_intmath.cpp
7    test_hiloeo.cpp test_local.cpp test_pointercast.cpp
8    test_if.cpp test_loop.cpp
9    test_readimage.cpp
10    test_writeimage.cpp
11    test_multireadimageonefmt.cpp test_multireadimagemultifmt.cpp
12    test_imagedim.cpp
13    test_vloadstore.cpp
14    test_int2fp.cpp
15    test_createkernelsinprogram.cpp
16    test_hostptr.cpp
17    test_explicit_s2v.cpp
18    test_constant.cpp
19    test_image_multipass.cpp
20    test_imagereadwrite.cpp test_imagereadwrite3d.cpp
21    test_image_param.cpp
22    test_imagenpot.cpp
23    test_image_r8.cpp
24    test_barrier.cpp
25    test_basic_parameter_types.cpp
26    test_arrayreadwrite.cpp
27    test_arraycopy.cpp
28    test_imagearraycopy.cpp
29    test_imagearraycopy3d.cpp
30    test_imagecopy.cpp
31    test_imagerandomcopy.cpp
32    test_arrayimagecopy.cpp
33    test_imagecopy3d.cpp
34    test_enqueue_map.cpp
35    test_work_item_functions.cpp
36    test_astype.cpp
37    test_async_copy.cpp
38    test_async_copy2D.cpp
39    test_async_copy3D.cpp
40    test_async_copy_fence.cpp
41    test_sizeof.cpp
42    test_vector_creation.cpp
43    test_vector_swizzle.cpp
44    test_vec_type_hint.cpp
45    test_numeric_constants.cpp
46    test_constant_source.cpp
47    test_bufferreadwriterect.cpp
48    test_async_strided_copy.cpp
49    test_preprocessors.cpp
50    test_kernel_memory_alignment.cpp
51    test_global_work_offsets.cpp
52    test_kernel_call_kernel_function.cpp
53    test_local_kernel_scope.cpp
54    test_progvar.cpp
55    test_global_linear_id.cpp
56    test_local_linear_id.cpp
57    test_enqueued_local_size.cpp
58    test_simple_image_pitch.cpp
59    test_get_linear_ids.cpp
60    test_rw_image_access_qualifier.cpp
61    test_enqueued_local_size.cpp
62    test_global_linear_id.cpp
63    test_local_linear_id.cpp
64    test_progvar.cpp
65)
66
67if(APPLE)
68    list(APPEND ${MODULE_NAME}_SOURCES test_queue_priority.cpp)
69endif(APPLE)
70
71set_gnulike_module_compile_flags("-Wno-sign-compare")
72
73include(../CMakeCommon.txt)
74