KhronosGroup / KhronosGroup/OpenCL-Docs
In clEnqueueCopyBufferRect when src_buffer and dst_buffer are the same buffer object
- Dominant language
- Python
- Stars
- 420
- Forks
- 131
- Avg merge
- 5d 13h
- Merged PRs (30d)
- 11
Description
In this case, the spec says that the API returns "CL_INVALID_VALUE if src_buffer and dst_buffer are the same buffer object and src_slice_pitch is not equal to dst_slice_pitch **and** src_row_pitch is not equal to dst_row_pitch."
I think that the real condition should be "src_slice_pitch is not equal to dst_slice_pitch **or** src_row_pitch is not equal to dst_row_pitch".
Do you agree?
Contributor guide
Research direction
Start by reviewing the clEnqueueCopyBufferRect specification language cited in the issue and compare the stated condition with the intended API semantics. Done means resolving whether the wording should use OR and documenting the decision in the OpenCL-Docs source.
Written by the indexing model from the issue text.
Assessment
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100