Table of Contents

Class PipelineArgumentSpec

Namespace
DotCompute.Backends.OpenCL.Execution
Assembly
DotCompute.Backends.OpenCL.dll

Specification for a kernel argument in a pipeline.

public sealed class PipelineArgumentSpec
Inheritance
PipelineArgumentSpec
Inherited Members

Properties

BufferFlags

Gets the buffer memory flags (if buffer argument).

public MemoryFlags? BufferFlags { get; init; }

Property Value

MemoryFlags?

BufferSize

Gets the buffer size (if buffer argument).

public ulong? BufferSize { get; init; }

Property Value

ulong?

IsBuffer

Gets whether this is a buffer argument.

public bool IsBuffer { get; init; }

Property Value

bool

IsLocalMemory

Gets whether this is a local memory argument.

public bool IsLocalMemory { get; init; }

Property Value

bool

LocalMemorySize

Gets the local memory size (if local memory argument).

public int LocalMemorySize { get; init; }

Property Value

int

Name

Gets the argument name.

public required string Name { get; init; }

Property Value

string