Download cuda-gdb Debugger. User Manual

Transcript
TABLE OF CONTENTS
1 Introduction.......................................................................... 1
What is CUDA-GDB? ................................................................. 1
Supported features ................................................................. 1
About this document ............................................................... 2
2 Release Notes........................................................................ 3
GDB 7.2 Source Base................................................................
Support For Simultaneous CUDA-GDB Sessions .................................
New Autostep Command ...........................................................
Support For Multiple Contexts ....................................................
Support for Device Assertions .....................................................
3
3
4
4
4
3 Getting Started ...................................................................... 5
Installation Instructions ............................................................ 5
Setting Up the Debugger Environment........................................... 6
Linux ............................................................................... 6
Mac OS X .......................................................................... 6
Compiling the Application ......................................................... 7
Debug Compilation .............................................................. 7
Compiling for Fermi GPUs ...................................................... 7
Compiling for Fermi and Tesla GPUs .......................................... 7
Using the Debugger ................................................................. 8
Single GPU Debugging ........................................................... 8
Multi-GPU Debugging ............................................................ 8
Remote Debugging .............................................................. 10
Multiple Debuggers ............................................................. 11
CUDA/OpenGL Interop Applications on Linux .............................. 11
4 CUDA-GDB Extensions .............................................................12
Command Naming Convention ................................................... 12
Getting Help ........................................................................ 12
Initialization File ................................................................... 13
GUI Integration ..................................................................... 13
Emacs ............................................................................. 13
Graphics Driver CUDA-GDB
DU-05227-001_V4.1 | i