The
CUDA
view of the Debug perspective displays information about CUDA kernels,
blocks and threads currently running on the GPUs. This view is updated
automatically when program stops.
CUDA view has two primary modes that can be toggled with buttons on the view toolbar:


Note: This view is empty if no CUDA context was created by the application being debugged. Most CUDA runtime calls will result in context creation.
Contents of this view can be filtered by entering the filter condition to the field above the table. Following filter terms are recognized:
Thread and block idx can be specified in following forms:
Wildcard character (*) can be used for any dimension, e.g. string "*,2,1" matches (0,2,1), (1,2,1), (2,2,1), etc. Block and thread Idx can be enclosed into parentheses for readability.
Terms can be combined in a filter condition in any combination and all terms are supported in all modes. Some example filter strings are:
| Icons | Name | Description |
|---|---|---|
|
Kernel mode |
Switches the view into kernel mode displaying kernels, blocks and device threads. |
|
GPU mode |
Enables GPU mode displaying devices,
sms, warps and lanes. |
|
Pin thread/lane |
Adds selected thread or lane to pinned threads list. See Navigating
CUDA application state for more details.
|
|
Link selection with the Debug view
|
When selection linking is enabled any selection changes made to
this view are reflected in the Debug view. This in turn
may update Variables , Expressions and Registers
view. Selection changes in Debug view will also be
reflected in this view.
|
Collapse All |
Collapses all the the currently
expanded elements. |
|
| View menu |
Opens a view menu with following options:
Open New View - opens a new CUDA view copy
Coalesce Inactive Elements - will only show one tree node
for a continuous range of inactive elements. This setting is
enabled by default.
|
Navigating
CUDA application state