Table of Contents

Class LaunchConfiguration

Namespace
DotCompute.Backends.CUDA.Configuration
Assembly
DotCompute.Backends.CUDA.dll

Represents the launch configuration for a CUDA kernel execution.

public class LaunchConfiguration
Inheritance
LaunchConfiguration
Inherited Members

Properties

ActiveBlocks

Gets or sets the number of active blocks per SM.

public int ActiveBlocks { get; set; }

Property Value

int

ActiveWarps

Gets or sets the number of active warps.

public int ActiveWarps { get; set; }

Property Value

int

BlockSize

Gets or sets the thread block dimensions.

public Dim3 BlockSize { get; set; }

Property Value

Dim3

DeviceId

Gets or sets the device ID for this configuration.

public int DeviceId { get; set; }

Property Value

int

GridSize

Gets or sets the grid dimensions.

public Dim3 GridSize { get; set; }

Property Value

Dim3

RegistersPerThread

Gets or sets the number of registers used per thread.

public int RegistersPerThread { get; set; }

Property Value

int

SharedMemoryBytes

Gets or sets the amount of shared memory required in bytes.

public ulong SharedMemoryBytes { get; set; }

Property Value

ulong

TheoreticalOccupancy

Gets or sets the theoretical occupancy as a percentage (0.0 to 1.0).

public double TheoreticalOccupancy { get; set; }

Property Value

double