Download CUDA-GDB

Transcript
TABLE OF CONTENTS
1 Introduction.......................................................................... 1
What is CUDA-GDB? ................................................................. 1
Supported features ................................................................. 1
About this document ............................................................... 2
2 Release Notes........................................................................ 3
Kelpler Support ...................................................................... 3
3 Getting Started ...................................................................... 4
Installation Instructions ............................................................ 4
Setting Up the Debugger Environment........................................... 5
Linux ............................................................................... 5
Mac OS X .......................................................................... 5
Temporary Directory ............................................................ 5
Compiling the Application ......................................................... 6
Debug Compilation .............................................................. 6
Compiling for Fermi GPUs ...................................................... 6
Compiling for Fermi and Tesla GPUs .......................................... 6
Using the Debugger ................................................................. 7
Single GPU Debugging ........................................................... 7
Multi-GPU Debugging ............................................................ 7
Remote Debugging ............................................................... 9
Multiple Debuggers ............................................................. 10
CUDA/OpenGL Interop Applications on Linux .............................. 10
4 CUDA-GDB Extensions .............................................................11
Command Naming Convention ................................................... 11
Getting Help ........................................................................ 11
Initialization File ................................................................... 12
GUI Integration ..................................................................... 12
Emacs ............................................................................. 12
DDD................................................................................... 12
5 Kernel Focus ........................................................................13
Software Coordinates vs. Hardware Coordinates ............................. 13
Graphics Driver CUDA-GDB
DU-05227-042_v01 | i