DWARF Utilities

Enumerations

CUDBGElfImageType

CUDA ELF image type.

CUDBGRegClass

Physical register types.

Variables

CUDBGResult(* CUDBGAPI_st::disassemble

Disassemble instruction at instruction address.

CUDBGResult(* CUDBGAPI_st::getElfImageByHandle

Get the relocated or non-relocated ELF image for the given handle on the given device.

CUDBGResult(* CUDBGAPI_st::getHostAddrFromDeviceAddr

Given a device virtual address, return a corresponding system memory virtual address.

CUDBGResult(* CUDBGAPI_st::getPhysicalRegister30

Get the physical register number(s) assigned to a virtual register name at a given PC, if it's live at that PC.

CUDBGResult(* CUDBGAPI_st::getPhysicalRegister40

Get the physical register number(s) assigned to a virtual register name at a given PC, if it's live at that PC.

CUDBGResult(* CUDBGAPI_st::isDeviceCodeAddress

Determine whether a virtual address resides within device code.

CUDBGResult(* CUDBGAPI_st::isDeviceCodeAddress55

Determine whether a virtual address resides within device code.

CUDBGResult(* CUDBGAPI_st::lookupDeviceCodeSymbol

Determines whether a symbol represents a function in device code and returns its virtual address.

Enumerations

enum CUDBGElfImageType

CUDA ELF image type.

Values:

enumerator CUDBG_ELF_IMAGE_TYPE_NONRELOCATED

Non-relocated ELF image.

enumerator CUDBG_ELF_IMAGE_TYPE_RELOCATED

Relocated ELF image.

enum CUDBGRegClass

Physical register types.

Values:

enumerator REG_CLASS_INVALID

The physical register is invalid.

enumerator REG_CLASS_REG_CC

The physical register is a condition code register.

Unused.

enumerator REG_CLASS_REG_PRED

The physical register is a predicate register.

Unused.

enumerator REG_CLASS_REG_ADDR

The physical register is an address register.

Unused.

enumerator REG_CLASS_REG_HALF

The physical register is a 16-bit register.

Unused.

enumerator REG_CLASS_REG_FULL

The physical register is a 32-bit register.

enumerator REG_CLASS_MEM_LOCAL

The content of the physical register has been spilled to memory.

enumerator REG_CLASS_LMEM_REG_OFFSET

The content of the physical register has been spilled to the local stack (ABI only).

enumerator REG_CLASS_UREG_PRED

The physical register is a uniform predicate register.

enumerator REG_CLASS_UREG_HALF

The physical register is a 16-bit uniform register.

enumerator REG_CLASS_UREG_FULL

The physical register is a 32-bit uniform register.

enumerator REG_CLASS_TEMP_REG_SPILL

The physical register is a temp register spill.

Temp register spill 0 is RPC.LO and 1 is RPC.HI.