Negative test for CL_INVALID_QUEUE_PROPERTIES (#1935)

Test that verifies `CL_INVALID_QUEUE_PROPERTIES` is returned from
`clCreateCommandQueue`, `clCreateCommandQueueWithProperties`, and
`clCreateCommandQueueWithPropertiesKHR` to match spec wording

> CL_INVALID_QUEUE_PROPERTIES if values specified in properties are
valid but are not supported by the device.
This commit is contained in:
Ewan Crawford
2024-06-25 17:40:32 +01:00
committed by GitHub
parent 2b266434b7
commit 8e6c519354
4 changed files with 191 additions and 0 deletions

View File

@@ -152,6 +152,11 @@ test_definition test_list[] = {
ADD_TEST(work_group_suggested_local_size_1D),
ADD_TEST(work_group_suggested_local_size_2D),
ADD_TEST(work_group_suggested_local_size_3D),
ADD_TEST(negative_create_command_queue),
ADD_TEST_VERSION(negative_create_command_queue_with_properties,
Version(2, 0)),
ADD_TEST(negative_create_command_queue_with_properties_khr),
};
const int test_num = ARRAY_SIZE(test_list);