Class MPSGraphOptimization
- java.lang.Object
-
- apple.metalperformanceshadersgraph.enums.MPSGraphOptimization
-
public final class MPSGraphOptimization extends java.lang.ObjectOptimization levels to tradeoff compilation time for even more runtime performance by running more passes.
-
-
Field Detail
-
Level0
public static final long Level0
Graph performs core optimizations only. API-Since: 15.4- See Also:
- Constant Field Values
-
Level1
public static final long Level1
Graph performs additional Optimizations, like using the placement pass to dispatch across different HW blocks like the NeuralEngine and CPU along with the GPU. API-Since: 15.4- See Also:
- Constant Field Values
-
-