Metal computefunction "simdgroup_barrier" not recognised

Hi All,


In one of my metal compute kernels, when trying to use "simdgroup_barrier"; I get a compiler error "use of underclared identifier 'simdgroup_barrier'; did you mean 'threadgroup_barrier' ?"


But another line having "threadgroup_barrier" is recognised. I have included the <metal_compute> header as well.


Any help to resolve this will be highly appreciated !!


Thank you.


Regards

Paul

Replies

I am going to ask for more understanding on SIMD, but this is only available in iOS 10.