docs: def nvrtcGetPTX(self, prog):
          """
          Returns the compiled PTX for the NVRTC program object.
          """
          size = c_size_t()
          code = self._lib.nvrtcGetPTXSize(prog, byref(size))
          self._throw_on_error(code)
  
          buf = create_string_buffer(size.value)
          code = self._lib.nvrtcGetPTX(prog, buf)
          self._throw_on_error(code)
  
          return buf.value.decode('utf-8')