MPSKernelOptions Enum

Definition

Enumerates ORable kernel options that improve performance in certain cases.

This enumeration supports a bitwise combination of its member values.

[System.Flags]
public enum MPSKernelOptions
type MPSKernelOptions = 
Inheritance
MPSKernelOptions
Attributes

Fields

AllowReducedPrecision 2
DisableInternalTiling 4
InsertDebugGroups 8
MPSKernelOptionsAllowReducedPrecision 2

Allow the use of reduced-precision types in calculations.

None 0

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

SkipApiValidation 1

Skip Metal's validation layer.

Verbose 16

Applies to