Class KernelExecutionConfig
- Namespace
- DotCompute.Abstractions.Interfaces.Kernels
- Assembly
- DotCompute.Abstractions.dll
Kernel execution configuration.
public sealed record KernelExecutionConfig : IEquatable<KernelExecutionConfig>
- Inheritance
-
KernelExecutionConfig
- Implements
- Inherited Members
Properties
CaptureTimings
Gets or sets whether to capture timing information.
public bool CaptureTimings { get; init; }
Property Value
DynamicSharedMemorySize
Gets or sets the dynamic shared memory size in bytes.
public int DynamicSharedMemorySize { get; init; }
Property Value
Flags
Gets or sets execution flags.
public KernelExecutionFlags Flags { get; init; }
Property Value
GlobalWorkSize
Gets or sets the global work size (total threads).
public required IReadOnlyList<int> GlobalWorkSize { get; init; }
Property Value
LocalWorkSize
Gets or sets the local work size (threads per work group).
public IReadOnlyList<int>? LocalWorkSize { get; init; }
Property Value
Stream
Gets or sets the execution stream/queue.
public object? Stream { get; init; }
Property Value
WaitEvents
Gets or sets events to wait for before execution.
public IReadOnlyList<object>? WaitEvents { get; init; }