cuda.bindings._v2.nvrtc.get_ptx_size#

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

nvrtcGetPTXSize sets the value of ptx_size_ret with the size of the PTX generated by the previous compilation of prog (including the trailing NULL).

Parameters:

prog (intptr_t) – CUDA Runtime Compilation program.

Returns:

Size of the generated PTX (including the trailing

NULL).

Return type:

size_t

See also

nvrtcGetPTXSize