Skip to content

Commit

Permalink
Implement Negative Command Queue Tests
Browse files Browse the repository at this point in the history
Implement negative tests for the following functions:
    - clCreateCommandQueueWithProperties
    - clCreateCommandQueue
    - clSetDefaultDeviceCommandQueue
    - clRetainCommandQueue
    - clReleaseCommandQueue
    - clGetCommandQueueInfo
    - clSetCommandQueueProperties

Signed-off-by: Chetankumar Mistry <[email protected]>
Signed-off-by: Ahmed Hesham <[email protected]>
  • Loading branch information
chemis01 authored and ahesham-arm committed Nov 4, 2024
1 parent c4119f0 commit c87e9e3
Show file tree
Hide file tree
Showing 3 changed files with 456 additions and 65 deletions.
8 changes: 7 additions & 1 deletion test_conformance/api/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,13 @@ test_definition test_list[] = {
ADD_TEST_VERSION(negative_create_command_queue_with_properties,
Version(2, 0)),
ADD_TEST(negative_create_command_queue_with_properties_khr),
ADD_TEST(kernel_local_memory_size),
ADD_TEST_VERSION(negative_set_default_device_command_queue, Version(2, 1)),
ADD_TEST(negative_retain_command_queue),
ADD_TEST(negative_release_command_queue),
ADD_TEST(negative_get_command_queue_info),
ADD_TEST(negative_set_command_queue_property),

ADD_TEST(kernel_local_memory_size)
};

const int test_num = ARRAY_SIZE(test_list);
Expand Down
Loading

0 comments on commit c87e9e3

Please sign in to comment.