4. Data Structures
Here are the data structures with brief descriptions:
- cudbgGetAPI
- CUDA debugger API methods
- CUDBGAttributeValuePair
- Grid attribute-value pair
- CUDBGCbuWarpState
- Warp state in the CBU (Convergence Barrier Unit)
- CUDBGCudaLogMessage
- CUDA Log Message
- CUDBGDeviceInfo
- Device-level information. This is the first element in the deviceInfoBuffer, and is always present. getDeviceInfo() takes a deviceId as input, so no need to explicitly pass it back here. Only "valid & updated" SMs/Warps/Lanes are included in the buffer, which allows us to determine indexes without having to encode an explicit ID field in the following buffer datastructures
- CUDBGDeviceInfoSizes
- Sizes of the various structs returned by the batched device update APIs. No explicit version field - implied by debugAPI major.minor.revision
- CUDBGEvent
- Event information container
- CUDBGEvent30
- Event information container for API version 3.0
- CUDBGEvent32
- Event information container for API version 3.2
- CUDBGEvent42
- Event information container for API version 4.2
- CUDBGEvent50
- Event information container for API version 5.0
- CUDBGEvent55
- Event information container for API version 5.5
- CUDBGEvent::CUDBGEvent::cases_st
- Information for each type of event
- CUDBGEvent::CUDBGEvent::cases_st::CUDBGEvent::cases_st::allDevicesSuspended_st
- Information about an event which forced all devices to be suspended
- CUDBGEvent::CUDBGEvent::cases_st::CUDBGEvent::cases_st::contextCreate_st
- Information about the context being created
- CUDBGEvent::CUDBGEvent::cases_st::CUDBGEvent::cases_st::contextDestroy_st
- Information about the context being destroyed
- CUDBGEvent::CUDBGEvent::cases_st::CUDBGEvent::cases_st::contextPop_st
- Information about the context being popped
- CUDBGEvent::CUDBGEvent::cases_st::CUDBGEvent::cases_st::contextPush_st
- Information about the context being pushed
- CUDBGEvent::CUDBGEvent::cases_st::CUDBGEvent::cases_st::elfImageLoaded_st
- Information about the loaded ELF image
- CUDBGEvent::CUDBGEvent::cases_st::CUDBGEvent::cases_st::elfImageUnloaded_st
- Information about the ELF image about to be unloaded
- CUDBGEvent::CUDBGEvent::cases_st::CUDBGEvent::cases_st::functionsLoaded_st
- Information about the functions being lazily loaded
- CUDBGEvent::CUDBGEvent::cases_st::CUDBGEvent::cases_st::internalError_st
- Information about internal erros
- CUDBGEvent::CUDBGEvent::cases_st::CUDBGEvent::cases_st::kernelFinished_st
- Information about the kernel that just terminated
- CUDBGEvent::CUDBGEvent::cases_st::CUDBGEvent::cases_st::kernelReady_st
- Information about the kernel ready to be launched
- CUDBGEvent::CUDBGEvent::cases_st::CUDBGEvent::cases_st::singleStepComplete_st
- Information about a single step operation that has completed
- CUDBGEventCallbackData
- Callback data passed to callback set with setNotifyNewEventCallback function
- CUDBGEventCallbackData40
- Callback data passed to callback set with setNotifyNewEventCallback40 function
- CUDBGEventCallbackData41
- Callback data passed to callback set with setNotifyNewEventCallback41 function
- CUDBGGridInfo
- Information about a CUDA grid
- CUDBGGridInfo120
- Grid info
- CUDBGGridInfo55
- Grid info
- CUDBGLaneState
- Lane state (state of a single thread)
- CUDBGLoadedFunctionInfo
- Information about a lazily loaded function
- CUDBGMemoryInfo
- Memory information
- CUDBGSMInfo
- SM-level information
- CUDBGWarpInfo
- Warp-level information
- CUDBGWarpResources
- Warp resources. These resources can change at runtime between suspends
- CUDBGWarpState
- Warp state information
- CUDBGWarpState120
- Warp state for API version 12.0
- CUDBGWarpState127
- Warp state for API version 12.7
- CUDBGWarpState60
- Warp state for API version 6.0
- CuDim2
- 2-dimensional coordinates for threads, blocks, etc
- CuDim3
- 3-dimensional coordinates for threads, blocks, etc