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.
This commit is contained in:
Ben Ashbaugh
2025-02-11 11:59:11 -08:00
committed by GitHub
parent 1da0f4f8d7
commit ca082ed48e
2 changed files with 404 additions and 0 deletions

View File

@@ -18,6 +18,7 @@ set(${MODULE_NAME}_SOURCES
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")