Table of Contents

Class KernelParameterMetadata

Namespace
DotCompute.Backends.CUDA.Compilation
Assembly
DotCompute.Backends.CUDA.dll

Represents metadata about a kernel parameter.

public sealed class KernelParameterMetadata
Inheritance
KernelParameterMetadata
Inherited Members

Properties

ElementType

Gets or sets the element type (for buffer types).

public required Type ElementType { get; init; }

Property Value

Type

IsBuffer

Gets or sets a value indicating whether this is a buffer parameter (Span, array, etc.).

public bool IsBuffer { get; init; }

Property Value

bool

IsReadOnly

Gets or sets a value indicating whether this is a read-only buffer.

public bool IsReadOnly { get; init; }

Property Value

bool

Name

Gets or sets the parameter name.

public required string Name { get; init; }

Property Value

string

ParameterType

Gets or sets the parameter type.

public required Type ParameterType { get; init; }

Property Value

Type