-
Notifications
You must be signed in to change notification settings - Fork 223
Open
Labels
cognizant-backlogIssue approved by WG for Cognizant to work onIssue approved by WG for Cognizant to work onmissing-coverage
Description
We could potentially widen this issue to cover all negative testing for clSetKernelArg
Work plan:
test_api
-
CL_INVALID_KERNEL- kernel is not a valid kernel object -
CL_INVALID_ARG_INDEX- arg_index is not a valid argument index -
CL_INVALID_ARG_VALUE- image declared with the read_only qualifier and arg_value refers to an image object created with cl_mem_flags ofCL_MEM_WRITE_ONLY, PR Added test to verify negative result of clSetKernelArg with CL_INVALID_ARG_VALUE #2445 -
CL_INVALID_ARG_VALUE- image argument is declared with the write_only qualifier and arg_value refers to an image object created with cl_mem_flags ofCL_MEM_READ_ONLY, PR Added test to verify negative result of clSetKernelArg with CL_INVALID_ARG_VALUE #2445 -
CL_INVALID_MEM_OBJECT- argument declared to be a memory object when the specified arg_value is not a valid memory object -
CL_INVALID_SAMPLER- type sampler_t when the specified arg_value is not a valid sampler object -
CL_INVALID_DEVICE_QUEUE- type queue_t when the specified arg_value is not a valid device queue object -
CL_INVALID_ARG_SIZE- arg_size does not match the size of the data type for an argument that is not a memory object -
CL_INVALID_ARG_SIZE- argument is a memory object and arg_size != sizeof(cl_mem) -
CL_INVALID_ARG_SIZE- arg_size is zero and the argument is declared with the local qualifier, PR Added test to verify negative result of clSetKernelArg with CL_INVALID_ARG_SIZE and local qalified argument #2449 -
CL_INVALID_ARG_SIZE- argument is a sampler and arg_size != sizeof(cl_sampler) -
CL_INVALID_MEM_OBJECT- argument declared to be a depth image, depth image array, multi-sample image, multi-sample image array, multi-sample depth image, or a multi-sample depth image array when the specified arg_value does not follow the rules described above for a depth memory object or memory array object argument
Metadata
Metadata
Assignees
Labels
cognizant-backlogIssue approved by WG for Cognizant to work onIssue approved by WG for Cognizant to work onmissing-coverage