Table of Contents

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

Dictionary<int, object>

GridSize

Grid size for dispatch

public (int x, int y, int z) GridSize { get; set; }

Property Value

(int x, int y, int z)

InputBuffers

Input buffers for the compute operation

public IList<nint> InputBuffers { get; init; }

Property Value

IList<nint>

OutputBuffers

Output buffers for the compute operation

public IList<nint> OutputBuffers { get; init; }

Property Value

IList<nint>

PipelineState

Compute pipeline state to use

public nint PipelineState { get; set; }

Property Value

nint

ThreadgroupSize

Thread group size

public (int x, int y, int z) ThreadgroupSize { get; set; }

Property Value

(int x, int y, int z)