mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
Here are some tests to check how SVM APIs behave when the size is zero, see: * https://github.com/KhronosGroup/OpenCL-Docs/issues/1403 These tests don't fail right now if some of the calls are unsuccessful. This ensures that all sub-tests run on a given implementation.
38 lines
1.2 KiB
CMake
38 lines
1.2 KiB
CMake
set(MODULE_NAME SVM)
|
|
|
|
set(${MODULE_NAME}_SOURCES
|
|
main.cpp
|
|
test_allocate_shared_buffer.cpp
|
|
test_allocate_shared_buffer_negative.cpp
|
|
test_byte_granularity.cpp
|
|
test_corner_cases.cpp
|
|
test_cross_buffer_pointers.cpp
|
|
test_enqueue_api.cpp
|
|
test_fine_grain_memory_consistency.cpp
|
|
test_fine_grain_sync_buffers.cpp
|
|
test_pointer_passing.cpp
|
|
test_set_kernel_exec_info_svm_ptrs.cpp
|
|
test_shared_address_space_coarse_grain.cpp
|
|
test_shared_address_space_fine_grain.cpp
|
|
test_shared_address_space_fine_grain_buffers.cpp
|
|
test_shared_sub_buffers.cpp
|
|
test_migrate.cpp
|
|
test_unified_svm_consistency.cpp
|
|
test_unified_svm_corner_cases.cpp
|
|
test_unified_svm_capabilities.cpp
|
|
test_unified_svm_apis.cpp
|
|
test_unified_svm_api_query_defaults.cpp
|
|
test_unified_svm_api_suggested_type_index.cpp
|
|
test_unified_svm_mem_cpy.cpp
|
|
test_unified_svm_mem_fill.cpp
|
|
test_unified_svm_migrate.cpp
|
|
test_unified_svm_free.cpp
|
|
test_unified_svm_setarg.cpp
|
|
test_unified_svm_map_unmap.cpp
|
|
test_unified_svm_execinfo.cpp
|
|
)
|
|
|
|
set_gnulike_module_compile_flags("-Wno-sometimes-uninitialized -Wno-sign-compare")
|
|
|
|
include(../CMakeCommon.txt)
|