mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-25 08:19:02 +00:00
API Feature Consistency Test, Part 2 (#912)
* added pipes test clang-format fixes * simplify diffs * added pipes test clang-format fixes * simplify diffs * add Program Scope Global Variables consistency test * switched other checks to test_assert_error * add non-uniform work group consistency test * added read-write images consistency test * add Creating 2D Images from Buffers consistency test * add Device and Host Timer Synchronization consistency test * add Intermediate Language Programs consistency test * add Subgroups consistency test * add Program Initialization and Clean-Up Kernels consistency test * add 3D Image Writes consistency test * clang-format fixes * switch the check for 3D image writes extension for clarity * add Depth Images consistency test * update test for CL_QUEUE_SIZE, must return CL_INVALID_COMMAND_QUEUE * formatting fixes * fix copy-paste typo * change expected error codes to CL_INVALID_OPERATION * address review comments * fix formatting * address review feedback Since pipes are cl_mems, We can spec and test that clGetPipeInfo returns CL_INVALID_OPERATION when pipes are not supported by passing a non-pipe memory object to the function. * use the CTS framework to choose the OpenCL C version * address review feedback
This commit is contained in:
@@ -150,3 +150,39 @@ extern int test_consistency_device_enqueue(cl_device_id deviceID,
|
||||
int num_elements);
|
||||
extern int test_consistency_pipes(cl_device_id deviceID, cl_context context,
|
||||
cl_command_queue queue, int num_elements);
|
||||
extern int test_consistency_progvar(cl_device_id deviceID, cl_context context,
|
||||
cl_command_queue queue, int num_elements);
|
||||
extern int test_consistency_non_uniform_work_group(cl_device_id deviceID,
|
||||
cl_context context,
|
||||
cl_command_queue queue,
|
||||
int num_elements);
|
||||
extern int test_consistency_read_write_images(cl_device_id deviceID,
|
||||
cl_context context,
|
||||
cl_command_queue queue,
|
||||
int num_elements);
|
||||
extern int test_consistency_2d_image_from_buffer(cl_device_id deviceID,
|
||||
cl_context context,
|
||||
cl_command_queue queue,
|
||||
int num_elements);
|
||||
extern int test_consistency_depth_images(cl_device_id deviceID,
|
||||
cl_context context,
|
||||
cl_command_queue queue,
|
||||
int num_elements);
|
||||
extern int test_consistency_device_and_host_timer(cl_device_id deviceID,
|
||||
cl_context context,
|
||||
cl_command_queue queue,
|
||||
int num_elements);
|
||||
extern int test_consistency_il_programs(cl_device_id deviceID,
|
||||
cl_context context,
|
||||
cl_command_queue queue,
|
||||
int num_elements);
|
||||
extern int test_consistency_subgroups(cl_device_id deviceID, cl_context context,
|
||||
cl_command_queue queue, int num_elements);
|
||||
extern int test_consistency_prog_ctor_dtor(cl_device_id deviceID,
|
||||
cl_context context,
|
||||
cl_command_queue queue,
|
||||
int num_elements);
|
||||
extern int test_consistency_3d_image_writes(cl_device_id deviceID,
|
||||
cl_context context,
|
||||
cl_command_queue queue,
|
||||
int num_elements);
|
||||
|
||||
Reference in New Issue
Block a user