NVIDIA / nsight-vscode-edition

A Visual Studio Code extension for building and debugging CUDA applications.
Other
72 stars 11 forks source link

Feature request: warp watch #29

Open Saitama10000 opened 1 year ago

Saitama10000 commented 1 year ago

It is so annoying and slow to keep typing thread 0, thread 1, thread 2, etc. to view the values of an array or variable in different lanes of a warp. Adding a warp watch similar in syntax to how pointers can be viewed as arrays, something like this in the watch window: ‘var#nb of lanes: value in lane 0, value in lane 1, etc’, ‘var#4: 1, 2, 3, 4’, would be extremely helpful, especially for debugging code which uses warp shuffles and cooperative groups. This should also work for pointer as arrays case: ‘*ptr@6#4: …’ ptr seen as an array of 6 for 4 lanes (the current 4 lane tiled partition of the current block in which the current thread is in’

sanannavyaa commented 1 year ago

Thanks for the feedback! We will consider this a feature request