1set(MODULE_NAME BASIC) 2 3set(${MODULE_NAME}_SOURCES 4 main.cpp 5 test_fpmath_float.cpp test_fpmath_float2.cpp test_fpmath_float4.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 test_readimage_int16.cpp test_readimage_fp32.cpp 10 test_readimage3d.cpp test_readimage3d_int16.cpp test_readimage3d_fp32.cpp 11 test_writeimage.cpp test_writeimage_int16.cpp test_writeimage_fp32.cpp 12 test_multireadimageonefmt.cpp test_multireadimagemultifmt.cpp 13 test_imagedim.cpp 14 test_vloadstore.cpp 15 test_int2float.cpp test_float2int.cpp 16 test_createkernelsinprogram.cpp 17 test_hostptr.cpp 18 test_explicit_s2v.cpp 19 test_constant.cpp 20 test_image_multipass.cpp 21 test_imagereadwrite.cpp test_imagereadwrite3d.cpp 22 test_image_param.cpp 23 test_imagenpot.cpp 24 test_image_r8.cpp 25 test_barrier.cpp 26 test_basic_parameter_types.cpp 27 test_arrayreadwrite.cpp 28 test_arraycopy.cpp 29 test_imagearraycopy.cpp 30 test_imagearraycopy3d.cpp 31 test_imagecopy.cpp 32 test_imagerandomcopy.cpp 33 test_arrayimagecopy.cpp 34 test_arrayimagecopy3d.cpp 35 test_imagecopy3d.cpp 36 test_enqueue_map.cpp 37 test_work_item_functions.cpp 38 test_astype.cpp 39 test_async_copy.cpp 40 test_async_copy2D.cpp 41 test_async_copy3D.cpp 42 test_async_copy_fence.cpp 43 test_sizeof.cpp 44 test_vector_creation.cpp 45 test_vector_swizzle.cpp 46 test_vec_type_hint.cpp 47 test_numeric_constants.cpp 48 test_constant_source.cpp 49 test_bufferreadwriterect.cpp 50 test_async_strided_copy.cpp 51 test_preprocessors.cpp 52 test_kernel_memory_alignment.cpp 53 test_global_work_offsets.cpp 54 test_kernel_call_kernel_function.cpp 55 test_local_kernel_scope.cpp 56 test_progvar.cpp 57 test_wg_barrier.cpp 58 test_global_linear_id.cpp 59 test_local_linear_id.cpp 60 test_enqueued_local_size.cpp 61 test_simple_image_pitch.cpp 62 test_get_linear_ids.cpp 63 test_rw_image_access_qualifier.cpp 64 test_wg_barrier.cpp 65 test_enqueued_local_size.cpp 66 test_global_linear_id.cpp 67 test_local_linear_id.cpp 68 test_progvar.cpp 69) 70 71if(APPLE) 72 list(APPEND ${MODULE_NAME}_SOURCES test_queue_priority.cpp) 73endif(APPLE) 74 75include(../CMakeCommon.txt) 76