KhronosGroup / KhronosGroup/OpenCL-CTS
Add CTS test to check that creation of images with CL_MEM_KERNEL_READ_AND_WRITE fails with the right error
- Dominant language
- C++
- Stars
- 232
- Forks
- 235
- Avg merge
- 8d 7h
- Merged PRs (30d)
- 18
Description
From Ben - Add a negative CTS test to ensure an error (CL_INVALID_VALUE?) is returned if CL_MEM_KERNEL_READ_AND_WRITE is used to create a buffer or image memory object.
Contributor guide
No contributing guide indexed for this repository
Research direction
Locate the existing CTS tests for creating buffer and image memory objects, then inspect how they check invalid flags and expected error codes. Add negative coverage for CL_MEM_KERNEL_READ_AND_WRITE on both object types, confirming the expected error from the OpenCL rules and nearby test conventions. Run the relevant CTS tests and verify both cases fail with the correct error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- testing-qa
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 64/100