Skip to content

Commit

Permalink
Added negative tests for clCommandCopy[Buffer, BufferRect, BufferToIm…
Browse files Browse the repository at this point in the history
…age]KHR (#1941)

According to description
#1668
  • Loading branch information
kamil-goras-mobica authored Jun 11, 2024
1 parent 806dd2f commit d379b58
Show file tree
Hide file tree
Showing 4 changed files with 731 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ set(${MODULE_NAME}_SOURCES
negative_command_buffer_copy_image.cpp
negative_command_buffer_retain_release.cpp
negative_command_buffer_create.cpp
negative_command_buffer_copy.cpp
negative_command_nd_range_kernel.cpp
negative_command_buffer_get_info.cpp
negative_command_buffer_barrier.cpp
Expand Down
19 changes: 19 additions & 0 deletions test_conformance/extensions/cl_khr_command_buffer/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,25 @@ test_definition test_list[] = {
ADD_TEST(negative_command_ndrange_kernel_mutable_handle_not_null),
ADD_TEST(negative_command_ndrange_kernel_not_support_printf),
ADD_TEST(negative_command_ndrange_kernel_with_enqueue_call),
ADD_TEST(negative_command_buffer_command_copy_buffer_queue_not_null),
ADD_TEST(negative_command_buffer_command_copy_buffer_different_contexts),
ADD_TEST(
negative_command_buffer_command_copy_buffer_sync_points_null_or_num_zero),
ADD_TEST(
negative_command_buffer_command_copy_buffer_invalid_command_buffer),
ADD_TEST(
negative_command_buffer_command_copy_buffer_finalized_command_buffer),
ADD_TEST(
negative_command_buffer_command_copy_buffer_mutable_handle_not_null),
ADD_TEST(negative_command_buffer_command_copy_image_queue_not_null),
ADD_TEST(negative_command_buffer_command_copy_image_different_contexts),
ADD_TEST(
negative_command_buffer_command_copy_image_sync_points_null_or_num_zero),
ADD_TEST(negative_command_buffer_command_copy_image_invalid_command_buffer),
ADD_TEST(
negative_command_buffer_command_copy_image_finalized_command_buffer),
ADD_TEST(
negative_command_buffer_command_copy_image_mutable_handle_not_null),
ADD_TEST(negative_get_command_buffer_info_invalid_command_buffer),
ADD_TEST(negative_get_command_buffer_info_not_supported_param_name),
ADD_TEST(negative_get_command_buffer_info_queues),
Expand Down
Loading

0 comments on commit d379b58

Please sign in to comment.