CUDBGEvent

Unions

cases_st

Information for each type of event.

struct CUDBGEvent

Event information container.

Public Members

union CUDBGEvent::cases_st cases
CUDBGEventKind kind
union cases_st

Information for each type of event.

Public Members

struct CUDBGEvent::cases_st::allDevicesSuspended_st allDevicesSuspended
struct CUDBGEvent::cases_st::contextCreate_st contextCreate
struct CUDBGEvent::cases_st::contextDestroy_st contextDestroy
struct CUDBGEvent::cases_st::contextPop_st contextPop
struct CUDBGEvent::cases_st::contextPush_st contextPush
struct CUDBGEvent::cases_st::cudaLogsRulesetChanged_st cudaLogsRulesetChanged
struct CUDBGEvent::cases_st::elfImageLoaded_st elfImageLoaded
struct CUDBGEvent::cases_st::elfImageUnloaded_st elfImageUnloaded
struct CUDBGEvent::cases_st::functionsLoaded_st functionsLoaded
struct CUDBGEvent::cases_st::internalError_st internalError
struct CUDBGEvent::cases_st::kernelFinished_st kernelFinished
struct CUDBGEvent::cases_st::kernelReady_st kernelReady
struct CUDBGEvent::cases_st::singleStepComplete_st singleStepComplete
struct allDevicesSuspended_st

Information about an event which forced all devices to be suspended.

Public Members

uint64_t brokenDevicesMask

Device bitmask.

This mask has bits set for devices with any warps that hit a breakpoint.

uint64_t faultedDevicesMask

Device bitmask.

This mask has bits set for devices with any warps that hit an exception.

struct contextCreate_st

Information about the context being created.

Public Members

uint64_t context

Context handle of the context being created.

uint32_t dev

Device index of the context.

uint32_t tid

Host thread id (or LWP id) of the thread hosting the context (Linux only).

struct contextDestroy_st

Information about the context being destroyed.

Public Members

uint64_t context

Context handle of the context being destroyed.

uint32_t dev

Device index of the context.

uint32_t tid

Host thread id (or LWP id) of the thread hosting the context (Linux only).

struct contextPop_st

Information about the context being popped.

Public Members

uint64_t context

Context handle of the context being popped.

uint32_t dev

Device index of the context.

uint32_t tid

Host thread id (or LWP id) of the thread hosting the context (Linux only).

struct contextPush_st

Information about the context being pushed.

Public Members

uint64_t context

Context handle of the context being pushed.

uint32_t dev

Device index of the context.

uint32_t tid

Host thread id (or LWP id) of the thread hosting the context (Linux only).

struct cudaLogsRulesetChanged_st

Information about the CUDA log ruleset being changed.

Public Members

uint32_t rulesetIndex

The index of the newly applied ruleset.

struct elfImageLoaded_st

Information about the loaded ELF image.

Public Members

uint64_t context

Context handle of the loaded module.

uint32_t dev

Device index of the loaded module.

uint64_t handle

ELF image handle.

uint64_t module

Loaded module handle.

uint32_t properties

ELF image properties.

uint64_t size

Size of the ELF image (64-bit).

struct elfImageUnloaded_st

Information about the ELF image about to be unloaded.

Public Members

uint64_t context

Context handle of the module being unloaded.

uint32_t dev

Device index of the module being unloaded.

uint64_t handle

ELF image handle.

uint64_t module

Module handle of the module being unloaded.

uint64_t size

Size of the ELF image (64-bit).

struct functionsLoaded_st

Information about the functions being lazily loaded.

Public Members

uint64_t context

Context handle of the module containing the functions.

uint32_t count

Functions count.

uint32_t dev

Device index of the module containing the functions.

uint64_t module

Module handle of the module containing the functions.

struct internalError_st

Information about internal erros.

Public Members

CUDBGResult errorType

Type of the internal error.

struct kernelFinished_st

Information about the kernel that just terminated.

Note

DEPRECATED: This event is unreliable and will be removed in a future release.

Public Members

uint64_t context

Context handle of the kernel.

uint32_t dev

Device index of the kernel.

uint64_t function

Function handle of the kernel.

uint64_t functionEntry

Entry address of the kernel.

uint64_t gridId

Grid ID of the kernel.

uint64_t module

Module handle of the kernel.

uint32_t tid

Host thread id (or LWP id) of the thread hosting the kernel (Linux only).

struct kernelReady_st

Information about the kernel ready to be launched.

Note

DEPRECATED: This event is unreliable and will be removed in a future release.

Public Members

CuDim3 blockDim

Block dimensions of the kernel.

uint64_t context

Context handle of the kernel.

uint32_t dev

Device index of the kernel.

uint64_t function

Function handle of the kernel.

uint64_t functionEntry

Entry address of the kernel.

CuDim3 gridDim

Grid dimensions of the kernel.

uint64_t gridId

Grid ID of the kernel.

uint64_t module

Module handleof the kernel.

CUDBGKernelOrigin origin

Origin of the kernel (CPU or GPU).

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

Host thread id (or LWP id) of the thread hosting the kernel (Linux only).

CUDBGKernelType type

Type of the kernel: system or application.

struct singleStepComplete_st

Information about a single step operation that has completed.

Public Members

uint64_t brokenDevicesMask

Device bitmask.

This mask has bits set for devices with any warps that hit a breakpoint during the step.

uint64_t context

Context that was stepping.

uint32_t dev

Device that was stepping.

uint64_t faultedDevicesMask

Device bitmask.

This mask has bits set for devices with any warps that hit an exception during the step.

uint64_t finalWarpMask

Warps that ended up being stepped (only contains warps from the original SM, other SMs could be stepped and are not reported)

uint64_t originalWarpMask

Warps that were requested to be stepped.

uint32_t sm

SM that was stepping.

CUDBGSingleStepType type

Which single step method has initiated stepping.