def METHOD_NAME(self):
    # See Issue #6719 - this ensures that compilation with debug succeeds
    # with CUDA 11.2 / NVVM 7.0 onwards. Previously it failed because NVVM
    # IR version metadata was not added when compiling device functions,
    # and NVVM assumed DBG version 1.0 if not specified, which is
    # incompatible with the 3.0 IR we use. This was specified only for
    # kernels.
    def f():
        pass
    ptx, resty = compile_ptx(f, (), device=True, debug=True)
    self.check_debug_info(ptx)