https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81177
--- Comment #1 from Tom de Vries <vries at gcc dot gnu.org> --- Created attachment 41613 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41613&action=edit Tentative patch Creates plugin-nvptx.cubin. This file can be inspected using cuobjdump --dump-sass (or nvdisasm). We want the file only to be dumped when debugging (maybe we can enable this for gomp_debug_var >= 2), but I don't think gomp_debug_var is available in the plugin yet. A step further would be to call cuobjdump or nvdisasm from the plugin.