Download cuda-gdb Debugger. User Manual

Transcript
TABLE OF CONTENTS
DDD................................................................................... 13
5 Kernel Focus ........................................................................14
Software Coordinates vs. Hardware Coordinates ............................. 14
Current Focus....................................................................... 14
Switching Focus .................................................................... 15
6 Program Execution.................................................................16
Interrupting the Application...................................................... 16
Single-Stepping ..................................................................... 16
7 Breakpoints .........................................................................18
Symbolic Breakpoints.............................................................. 18
Line Breakpoints ................................................................... 19
Address Breakpoints ............................................................... 19
Kernel Entry Breakpoints ......................................................... 19
Conditional Breakpoints........................................................... 20
8 Inspecting Program State .........................................................21
Memory and Variables ............................................................. 21
Variable Storage and Accessibility............................................... 21
Inspecting Textures ................................................................ 22
Info CUDA Commands ............................................................. 23
info cuda devices ............................................................... 23
info cuda sms .................................................................... 24
info cuda warps ................................................................. 24
info cuda lanes .................................................................. 25
info cuda kernels ............................................................... 25
info cuda blocks................................................................. 26
info cuda threads ............................................................... 27
9 Context and Kernel Events......................................................28
Display CUDA context events..................................................... 28
Display CUDA kernel events ...................................................... 28
Examples of displayed events .................................................... 29
Graphics Driver CUDA-GDB
DU-05227-001_V4.1 | ii