Class MetalComputeOperationDescriptor
- Namespace
- DotCompute.Backends.Metal.Execution
- Assembly
- DotCompute.Backends.Metal.dll
Descriptor for compute operations
public sealed class MetalComputeOperationDescriptor : MetalOperationDescriptor
- Inheritance
-
MetalComputeOperationDescriptor
- Inherited Members
Properties
Constants
Constant parameters
public Dictionary<int, object> Constants { get; }
Property Value
GridSize
Grid size for dispatch
public (int x, int y, int z) GridSize { get; set; }
Property Value
InputBuffers
Input buffers for the compute operation
public IList<nint> InputBuffers { get; init; }
Property Value
OutputBuffers
Output buffers for the compute operation
public IList<nint> OutputBuffers { get; init; }
Property Value
PipelineState
Compute pipeline state to use
public nint PipelineState { get; set; }
Property Value
ThreadgroupSize
Thread group size
public (int x, int y, int z) ThreadgroupSize { get; set; }