You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 21, 2024. It is now read-only.
It would be wonderful if I could inspect the contents of thrust containers: host_vector and device_vector in GDB (and more importantly, in VSCode). GDB allows customizing this.
It would save a lot of time if I could inspect device vectors without having to bring them to the host (e.g. the pretty printer script would do that behind the scenes for me).
Bonus: we also have custom containers with interfaces that look a lot like device_vector -- it would be great if Thrust's pretty-printers could be used on those as well.
Bonus 2: Moreover, since fancy iterators are so common in our Thrust code (notably "counting transform" iterators), it could be extremely valuable to be able to introspect the values of iterators. This might require running device code in the general case, but for example, if I want to look at a range of iterators, the pretty-printer might be able to run a thrust::sequence on a small range and then copy the results to the host and print them. Not sure if this is fully supportable, just thought it is a potentially useful idea.