CUDBGGridInfo

struct CUDBGGridInfo

Information about a CUDA grid.

Public Members

CuDim3 blockDim

Block dimensions.

CuDim3 clusterDim

Number of blocks in the cluster.

uint64_t context

Context handle of the context this grid belongs to.

uint32_t dev

Index of the device this grid is running on.

uint64_t function

Function handle of the function corresponding to this grid.

uint64_t functionEntry

Entry address of the function corresponding to this grid.

CuDim3 gridDim

Grid dimensions.

uint64_t gridId64

Grid ID of this grid.

uint64_t module

Module handle of the module this grid belongs to.

CUDBGKernelOrigin origin

Origin of this grid: CPU or GPU.

CuDim3 preferredClusterDim

Preferred number of blocks in the cluster.

uint64_t reserved0

Reserved deprecated field kept for ABI compatibility.

Note

DEPRECATED: Since CUDA 13.4, this field is no longer used. Used to be ID of the parent grid (in case of a device-launched CDP grid).

uint32_t tid

Thread ID of the host thread that launched this grid.

CUDBGKernelType type

Grid type: system or application.