cuda.bindings._v2.nvrtc.get_ptx#

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

nvrtcGetPTX stores the PTX generated by the previous compilation of prog in the memory pointed by ptx.

Parameters:

prog (intptr_t) – CUDA Runtime Compilation program.

Returns:

Compiled result.

Return type:

bytes

See also

nvrtcGetPTX