Share via


MPSKernelOptions Enum

Definition

Enumerates ORable kernel options that improve performance in certain cases.

This enumeration supports a bitwise combination of its member values.

[ObjCRuntime.Native]
[System.Flags]
public enum MPSKernelOptions
[<ObjCRuntime.Native>]
[<System.Flags>]
type MPSKernelOptions = 
Inheritance
MPSKernelOptions
Attributes

Fields

Name Value Description
None 0

Validate the kernel and use standard-precision types in calculations. Default.

SkipApiValidation 1

Skip Metal's validation layer.

AllowReducedPrecision 2

Allow the use of reduced-precision types in calculations.

DisableInternalTiling 4
InsertDebugGroups 8
Verbose 16

Applies to