mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
Generic Address Space: Skip tests utlilising SVM on devices that do n… (#712)
* Harness: Added an option for a test to skip itself. New condtion in callSingleTestFunction. This allows a test to return TEST_SKIP if the device does not support the requested test. * Split generic_ptr_to_host_mem into two tests. The old generic_ptr_to_host_mem test tests two different device capabilities (SVM and not SVM). This is a prerequisite for the following commit. * Generic Address Space: Skip tests utlilising SVM on devices that do not support SVM. Where a device does not support SVM, do not run the generic address space test(s) that rely on SVM.
This commit is contained in:
@@ -38,6 +38,7 @@ extern int test_generic_variable_gentype(cl_device_id deviceID, cl_context conte
|
||||
extern int test_builtin_functions(cl_device_id deviceID, cl_context context, cl_command_queue queue, int num_elements);
|
||||
extern int test_generic_advanced_casting(cl_device_id deviceID, cl_context context, cl_command_queue queue, int num_elements);
|
||||
extern int test_generic_ptr_to_host_mem(cl_device_id deviceID, cl_context context, cl_command_queue queue, int num_elements);
|
||||
extern int test_generic_ptr_to_host_mem_svm(cl_device_id deviceID, cl_context context, cl_command_queue queue, int num_elements);
|
||||
extern int test_max_number_of_params(cl_device_id deviceID, cl_context context, cl_command_queue queue, int num_elements);
|
||||
|
||||
test_definition test_list[] = {
|
||||
@@ -62,6 +63,7 @@ test_definition test_list[] = {
|
||||
ADD_TEST( builtin_functions ),
|
||||
ADD_TEST( generic_advanced_casting ),
|
||||
ADD_TEST( generic_ptr_to_host_mem ),
|
||||
ADD_TEST( generic_ptr_to_host_mem_svm ),
|
||||
ADD_TEST( max_number_of_params ),
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user