4 ms·
> The Open CL 1.2 barrier() function is threadgroup scope, same as threadgroup_barrier on Metal Interestingly, the Apple driver seems to have that screwed up,
by my123 5y ago
> The Open CL 1.2 barrier() function is threadgroup scope, same as threadgroup_barrier on Metal
Interestingly, the Apple driver seems to have that screwed up, with giving much stronger semantics than necessary...
#define _AIR_MEM_SCOPE_WORK_GROUP 0x2 in the OpenCL header
And for metal_types.h...
#define _AIR_MEM_SCOPE_WORK_GROUP 0x1
#define _AIR_MEM_SCOPE_DEVICE 0x2
Which made me have even more questions, that's why I couldn't give a straight answer earlier.
> OpenCL has been deprecated for over 3 years
The OpenCL implementation using AIR is new, for Apple Silicon.