Class KernelExecutionOptions
- Namespace
- DotCompute.Abstractions.Kernels
- Assembly
- DotCompute.Abstractions.dll
Options for kernel execution.
public class KernelExecutionOptions
- Inheritance
-
KernelExecutionOptions
- Inherited Members
Properties
BlockDimensions
Gets or sets the block dimensions for kernel execution.
public (int X, int Y, int Z) BlockDimensions { get; set; }
Property Value
CustomOptions
Gets or sets additional backend-specific options.
public Dictionary<string, object> CustomOptions { get; }
Property Value
EnableProfiling
Gets or sets whether to enable profiling for this execution.
public bool EnableProfiling { get; set; }
Property Value
GridDimensions
Gets or sets the grid dimensions for kernel execution.
public (int X, int Y, int Z) GridDimensions { get; set; }
Property Value
SharedMemoryBytes
Gets or sets the shared memory size in bytes.
public int SharedMemoryBytes { get; set; }
Property Value
Stream
Gets or sets the stream to execute on (null for default stream).
public object? Stream { get; set; }