The device on which the kernel will be used.
SDKs
- iOS 9.0+
- macOS 10.13+
- Mac Catalyst 13.0+
- tvOS 9.0+
Framework
- Metal Performance Shaders
Declaration
@property(readonly, retain, nonatomic) id<MTLDevice> device;
The device on which the kernel will be used.
SDKs
Framework
@property(readonly, retain, nonatomic) id<MTLDevice> device;
options
The set of options used to run the kernel.
MPSKernel Options
The options used when creating a kernel.
label
The string that identifies the kernel.