I've just started playing around with Metal. I've written small sample programs to explore it.
One strange thing I've noticed: the call to maxTotalThreadsPerThreadgroup returns different
values in the 2 different apps (both are very simple apps, just to play with the API).
So
NSLog(@"max TotalThreadsPerThreadgroup = %lu", (unsigned long)[m_Kernel maxTotalThreadsPerThreadgroup]);
returns "160" for one app, and "512" for the other, on the exact same device. What could be causing this difference?