mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
Tests for cl_khr_device_uuid (#813)
Basic conformance testing for the cl_khr_device_uuid extension. Checks that the ID queries return the right sizes and that the returned IDs are stable across two calls to clGetDeviceInfo. If device LUID validity is true, also checks that one and only one bit is set in the device node mask. Signed-off-by: Einar Hov <einar.hov@arm.com>
This commit is contained in:
@@ -1143,10 +1143,12 @@ int test_computeinfo(cl_device_id deviceID, cl_context context,
|
||||
|
||||
extern int test_extended_versioning(cl_device_id, cl_context, cl_command_queue,
|
||||
int);
|
||||
extern int test_device_uuid(cl_device_id, cl_context, cl_command_queue, int);
|
||||
|
||||
test_definition test_list[] = {
|
||||
ADD_TEST(computeinfo),
|
||||
ADD_TEST(extended_versioning),
|
||||
ADD_TEST(device_uuid),
|
||||
};
|
||||
|
||||
const int test_num = ARRAY_SIZE(test_list);
|
||||
|
||||
Reference in New Issue
Block a user