Table of Contents

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

bool

DynamicSharedMemorySize

Gets or sets the dynamic shared memory size in bytes.

public int DynamicSharedMemorySize { get; init; }

Property Value

int

Flags

Gets or sets execution flags.

public KernelExecutionFlags Flags { get; init; }

Property Value

KernelExecutionFlags

GlobalWorkSize

Gets or sets the global work size (total threads).

public required IReadOnlyList<int> GlobalWorkSize { get; init; }

Property Value

IReadOnlyList<int>

LocalWorkSize

Gets or sets the local work size (threads per work group).

public IReadOnlyList<int>? LocalWorkSize { get; init; }

Property Value

IReadOnlyList<int>

Stream

Gets or sets the execution stream/queue.

public object? Stream { get; init; }

Property Value

object

WaitEvents

Gets or sets events to wait for before execution.

public IReadOnlyList<object>? WaitEvents { get; init; }

Property Value

IReadOnlyList<object>