Files
OpenCL-CTS/test_conformance/SVM/CMakeLists.txt
Ben Ashbaugh ca082ed48e add initial unified SVM API tests (#2261)
This PR includes tests for `clSVMAllocWithPropertiesKHR` and
`clGetSVMPointerInfoKHR` for valid pointers, as per the unified SVM test
plan. These tests are passing on many devices with the unified SVM
emulation layer.

Note, these tests use the same test fixture and unified SVM wrapper as
the unified SVM capability tests in #2210.
2025-02-11 11:59:11 -08:00

27 lines
803 B
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_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_capabilities.cpp
test_unified_svm_apis.cpp
)
set_gnulike_module_compile_flags("-Wno-sometimes-uninitialized -Wno-sign-compare")
include(../CMakeCommon.txt)