by babl-yc · 1y ago · 0 comments
With the addition of NPUs to the GPU, this story gets even more confusing...
But there isn’t a trivial way to specifically target the neural engine.
If you use Metal / GPU compute shaders it's going to run exclusively on GPU. Some inference libraries like TensorFlow/LiteRT with backend = .gpu use this.