Grid Properties
Enumerations
- CUDBGAttribute
-
Queryable grid attributes.
- CUDBGGridStatus
-
Grid status.
- CUDBGKernelLaunchNotifyMode
-
Kernel launch notification mode.
- CUDBGKernelOrigin
-
Kernel origin.
- CUDBGKernelType
-
Kernel types.
Structs
- CUDBGAttributeValuePair
-
Grid attribute-value pair.
- CUDBGGridInfo
-
Information about a CUDA grid.
- CUDBGGridInfo120
-
Grid info.
- CUDBGGridInfo55
-
Grid info.
Variables
- CUDBGResult(* CUDBGAPI_st::getBlockDim
-
Get the dimensions of the given block.
- CUDBGResult(* CUDBGAPI_st::getClusterDim
-
Get the number of blocks in the given cluster.
- CUDBGResult(* CUDBGAPI_st::getClusterDim120
-
Get the number of blocks in the given cluster.
- CUDBGResult(* CUDBGAPI_st::getElfImage
-
Get the relocated or non-relocated ELF image and size for the grid on the given device.
- CUDBGResult(* CUDBGAPI_st::getElfImage32
-
Get the relocated or non-relocated ELF image and size for the grid on the given device.
- CUDBGResult(* CUDBGAPI_st::getGridAttribute
-
Get the value of a grid attribute.
- CUDBGResult(* CUDBGAPI_st::getGridAttributes
-
Get several grid attribute values in a single API call.
- CUDBGResult(* CUDBGAPI_st::getGridDim
-
Get the dimensions in blocks of the given grid.
- CUDBGResult(* CUDBGAPI_st::getGridDim32
-
Get the dimensions of the given grid.
- CUDBGResult(* CUDBGAPI_st::getGridInfo
-
Get information about the specified grid.
- CUDBGResult(* CUDBGAPI_st::getGridInfo120
-
Get information about the specified grid.
- CUDBGResult(* CUDBGAPI_st::getGridInfo55
-
Get information about the specified grid.
- CUDBGResult(* CUDBGAPI_st::getGridStatus
-
Check whether the grid corresponding to the ID is still present on the device.
- CUDBGResult(* CUDBGAPI_st::getGridStatus50
-
Check whether the grid corresponding to the ID is still present on the device.
- CUDBGResult(* CUDBGAPI_st::getTID
-
Get the ID of the Linux thread hosting the CUDA context active at the given coordinates.
Enumerations
-
enum CUDBGAttribute
-
Queryable grid attributes.
Values:
-
enumerator CUDBG_ATTR_GRID_LAUNCH_BLOCKING
-
Whether the launch is synchronous (blocking) or not.
-
enumerator CUDBG_ATTR_GRID_TID
-
The id of the host thread that launched the grid.
-
enumerator CUDBG_ATTR_GRID_LAUNCH_BLOCKING
-
enum CUDBGGridStatus
-
Grid status.
Values:
-
enumerator CUDBG_GRID_STATUS_INVALID
-
An invalid grid ID was passed, or an error occurred during status lookup.
-
enumerator CUDBG_GRID_STATUS_PENDING
-
The grid was launched but is not running on the HW yet.
-
enumerator CUDBG_GRID_STATUS_ACTIVE
-
The grid is currently running on the HW.
-
enumerator CUDBG_GRID_STATUS_SLEEPING
-
The grid is on the device, doing a join.
-
enumerator CUDBG_GRID_STATUS_TERMINATED
-
The grid has finished executing.
-
enumerator CUDBG_GRID_STATUS_UNDETERMINED
-
The grid is either QUEUED or TERMINATED.
-
enumerator CUDBG_GRID_STATUS_INVALID
-
enum CUDBGKernelLaunchNotifyMode
-
Kernel launch notification mode.
Values:
-
enumerator CUDBG_KNL_LAUNCH_NOTIFY_EVENT
-
Kernel launches generate launch notification events.
-
enumerator CUDBG_KNL_LAUNCH_NOTIFY_DEFER
-
Kernel launches do not generate any notification.
-
enumerator CUDBG_KNL_LAUNCH_NOTIFY_EVENT
-
enum CUDBGKernelOrigin
-
Kernel origin.
Values:
-
enumerator CUDBG_KNL_ORIGIN_CPU
-
The kernel was launched from the CPU.
-
enumerator CUDBG_KNL_ORIGIN_GPU
-
The kernel was launched from the GPU.
-
enumerator CUDBG_KNL_ORIGIN_CPU
-
enum CUDBGKernelType
-
Kernel types.
Values:
-
enumerator CUDBG_KNL_TYPE_UNKNOWN
-
Unknown kernel type.
Fall-back value.
-
enumerator CUDBG_KNL_TYPE_SYSTEM
-
System kernel, launched by the CUDA driver (cudaMemset, …).
-
enumerator CUDBG_KNL_TYPE_APPLICATION
-
Application kernel, launched by the application (user-defined or libraries).
-
enumerator CUDBG_KNL_TYPE_UNKNOWN