Debugger API (PDF) - CUDA Toolkit v5.5 (older) - Last updated May 11, 2013 - Send Feedback

2.4. Breakpoints

Variables

CUDBGResult  ( *CUDBGAPI_st::setBreakpoint )( uint32_t dev, uint64_t addr )
Sets a breakpoint at the given instruction address for the given device.
CUDBGResult  ( *CUDBGAPI_st::setBreakpoint31 )( uint64_t addr )
Sets a breakpoint at the given instruction address.
CUDBGResult  ( *CUDBGAPI_st::unsetBreakpoint )( uint32_t dev, uint64_t addr )
Unsets a breakpoint at the given instruction address for the given device.
CUDBGResult  ( *CUDBGAPI_st::unsetBreakpoint31 )( uint64_t addr )
Unsets a breakpoint at the given instruction address.

Variables

CUDBGResult ( *CUDBGAPI_st::setBreakpoint )( uint32_t dev, uint64_t addr )

Sets a breakpoint at the given instruction address for the given device. Since CUDA 3.2.

See also:

unsetBreakpoint

Parameters
dev
- the device index
addr
- instruction address
Returns

CUDBG_SUCCESS, CUDBG_ERROR_UNINITIALIZED, CUDBG_ERROR_INVALID_ADDRESS, CUDBG_ERROR_INVALID_DEVICE

CUDBGResult ( *CUDBGAPI_st::setBreakpoint31 )( uint64_t addr )

Sets a breakpoint at the given instruction address. Since CUDA 3.0.

Deprecatedin CUDA 3.2.

See also:

unsetBreakpoint31

Parameters
addr
- instruction address
Returns

CUDBG_SUCCESS, CUDBG_ERROR_UNINITIALIZED, CUDBG_ERROR_INVALID_ADDRESS

CUDBGResult ( *CUDBGAPI_st::unsetBreakpoint )( uint32_t dev, uint64_t addr )

Unsets a breakpoint at the given instruction address for the given device. Since CUDA 3.2.

See also:

setBreakpoint

Parameters
dev
- the device index
addr
- instruction address
Returns

CUDBG_SUCCESS, CUDBG_ERROR_UNINITIALIZED, CUDBG_ERROR_INVALID_ADDRESS, CUDBG_ERROR_INVALID_DEVICE

CUDBGResult ( *CUDBGAPI_st::unsetBreakpoint31 )( uint64_t addr )

Unsets a breakpoint at the given instruction address. Since CUDA 3.0.

Deprecatedin CUDA 3.2.

See also:

setBreakpoint31

Parameters
addr
- instruction address
Returns

CUDBG_SUCCESS, CUDBG_ERROR_UNINITIALIZED


Debugger API (PDF) - CUDA Toolkit v5.5 (older) - Last updated May 11, 2013 - Send Feedback