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 Three-Dimensional Grid Support.................................................. C++ Debugging Support............................................................. Mac Debugging Support ............................................................ Automatic breakpoint on kernel launches ...................................... Textures .............................................................................. Improved info cuda commands ................................................... Filters ................................................................................. MI support ............................................................................ Fermi disassembly .................................................................. Conditional Breakpoints............................................................ Deprecated Commands............................................................. 3 3 3 3 3 4 4 4 4 4 4 3 Getting Started ...................................................................... 5 Installation Instructions ............................................................ 5 Setting up the debugger environment ........................................... 6 Linux ............................................................................... 6 Mac................................................................................. 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 4 cuda-gdb Extensions...............................................................11 Command Naming Convention ................................................... 11 Graphics Driver CUDA-GDB DU-05227-001_V4.0 | i