Düzenle

Aracılığıyla paylaş


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

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
MPSKernelOptionsAllowReducedPrecision 2

Allow the use of reduced-precision types in calculations.

DisableInternalTiling 4
InsertDebugGroups 8
Verbose 16

Applies to