cuda.bindings._v2.nvrtc.get_ltoir#

cuda.bindings._v2.nvrtc.get_ltoir(intptr_t prog) → bytes#

nvrtcGetltoir stores the LTO IR generated by the previous compilation of prog in the memory pointed by ltoir. No LTO IR is available if the program was compiled without -dlto.

Parameters:

prog (intptr_t) – CUDA Runtime Compilation program.

Returns:

Compiled result.

Return type:

bytes

See also

nvrtcGetLTOIR