Device Execution Control

Enumerations

CUDBGSingleStepFlags

Single step flags.

CUDBGSingleStepType

Single step operation type (API method that was used to start the single step operation)

Variables

CUDBGResult(* CUDBGAPI_st::executeInternalCommand

Execute an internal command (not available in public driver builds)

CUDBGResult(* CUDBGAPI_st::resumeAllDevices

Resume all running CUDA devices.

CUDBGResult(* CUDBGAPI_st::resumeDevice

Resume a suspended CUDA device.

CUDBGResult(* CUDBGAPI_st::resumeWarpsUntilPC

Insert a temporary breakpoint at the specified virtual PC and resume all warps in the specified bitmask on a given SM.

CUDBGResult(* CUDBGAPI_st::resumeWarpsUntilPC60

Insert a temporary breakpoint at the specified virtual PC and resume all warps in the specified bitmask on a given SM.

CUDBGResult(* CUDBGAPI_st::setKernelLaunchNotificationMode

Set the launch notification policy.

CUDBGResult(* CUDBGAPI_st::singleStepWarp

Single step an individual warp nsteps times on a suspended CUDA device.

CUDBGResult(* CUDBGAPI_st::singleStepWarp40

Single step an individual warp on a suspended CUDA device.

CUDBGResult(* CUDBGAPI_st::singleStepWarp41

Single step an individual warp on a suspended CUDA device.

CUDBGResult(* CUDBGAPI_st::singleStepWarp65

Single step an individual warp nsteps times on a suspended CUDA device.

CUDBGResult(* CUDBGAPI_st::suspendAllDevices

Suspend all running CUDA devices.

CUDBGResult(* CUDBGAPI_st::suspendDevice

Suspends a running CUDA device.

Enumerations

enum CUDBGSingleStepFlags

Single step flags.

Values:

enumerator CUDBG_SINGLE_STEP_FLAGS_NONE

Default behavior.

enumerator CUDBG_SINGLE_STEP_FLAGS_NO_STEP_OVER_WARP_BARRIERS

Disable optimized warp barrier stepping.

Do not step over warp-wide barriers using a breakpoint and resume, instead perform a single step and return. Passing this flag in means that the API client plans to repeat the singleStepWarp() call until the warp barrier is stepped over. This gives a more precise exception information if an exception is encountered by the diverged threads while stepping. This flag is only valid for the singleStepWarp() API method, resumeWarpsUntilPC() always steps over warp-wide barriers.

enumerator CUDBG_SINGLE_STEP_FLAGS_NON_BLOCKING

Don’t block on the stepping operations, instead return early and send an event once stepping is done.

enum CUDBGSingleStepType

Single step operation type (API method that was used to start the single step operation)

Values:

enumerator CUDBG_SINGLE_STEP_TYPE_INVALID

Invalid single step operation type.

enumerator CUDBG_SINGLE_STEP_TYPE_SINGLE_STEP_WARP

The singleStepWarp() API method was used to start the single step operation.

enumerator CUDBG_SINGLE_STEP_TYPE_RESUME_WARPS_UNTIL_PC

The resumeWarpsUntilPC() API method was used to start the single step operation.