Table of Contents

Class KernelExecutionParameters

Namespace
Orleans.GpuBridge.Abstractions.Providers.Execution.Parameters
Assembly
Orleans.GpuBridge.Abstractions.dll

Parameters for kernel execution

public sealed class KernelExecutionParameters
Inheritance
KernelExecutionParameters
Inherited Members

Properties

DynamicSharedMemoryBytes

Gets or initializes the size of dynamic shared memory in bytes.

public int DynamicSharedMemoryBytes { get; init; }

Property Value

int

GlobalWorkSize

Gets or initializes the global work size dimensions for kernel execution.

public int[] GlobalWorkSize { get; init; }

Property Value

int[]

LocalWorkSize

Gets or initializes the local work size dimensions for kernel execution. If null, the backend will choose an optimal local work size.

public int[]? LocalWorkSize { get; init; }

Property Value

int[]

MemoryArguments

Gets or initializes the memory arguments passed to the kernel. Maps argument names to device memory buffers.

public IReadOnlyDictionary<string, IDeviceMemory> MemoryArguments { get; init; }

Property Value

IReadOnlyDictionary<string, IDeviceMemory>

PreferredQueue

Gets or initializes the preferred command queue for execution. If null, the default queue will be used.

public ICommandQueue? PreferredQueue { get; init; }

Property Value

ICommandQueue

Priority

Gets or initializes the execution priority (higher values = higher priority).

public int Priority { get; init; }

Property Value

int

ScalarArguments

Gets or initializes the scalar arguments passed to the kernel. Maps argument names to scalar values.

public IReadOnlyDictionary<string, object> ScalarArguments { get; init; }

Property Value

IReadOnlyDictionary<string, object>