KhronosGroup / OpenCL-CTS

The OpenCL Conformance Tests
Apache License 2.0
178 stars 187 forks source link

Add special test for generic address space atomics #1959

Closed silverclaw closed 1 week ago

silverclaw commented 2 months ago

The atomic operations are tested with generic pointers but in a way where the compiler can infer the original pointer address space. This commit adds tests specifically for the case where the compiler cannot make inferences. Test that the correct address is used with atomics when the address is group variant and invariant.

lakshmih commented 1 month ago

Reviewing and will have some feedback next week.

silverclaw commented 2 weeks ago

Updated for formatting fixes, and added a requested comment explaining why the PREFERRED workgroup size is being queried.

bashbaug commented 1 week ago

Merging as discussed in the June 25th teleconference.