cuda.bindings._v2.nvrtc.get_ltoir_size#

cuda.bindings._v2.nvrtc.get_ltoir_size(intptr_t prog) → size_t#

nvrtcGetLTOIRSize sets the value of ltoir_size_ret with the size of the LTO IR generated by the previous compilation of prog. The value of ltoir_size_ret is set to 0 if the program was not compiled with -dlto.

Parameters:

prog (intptr_t) – CUDA Runtime Compilation program.

Returns:

Size of the generated LTO IR.

Return type:

size_t

See also

nvrtcGetLTOIRSize