cuda.bindings._v2.nvrtc.get_optix_ir#

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

nvrtcGetOptiXIR stores the OptiX IR generated by the previous compilation of prog in the memory pointed by optixir. No OptiX IR is available if the program was compiled with options incompatible with OptiX IR generation.

Parameters:

prog (intptr_t) – CUDA Runtime Compilation program.

Returns:

Optix IR Compiled result.

Return type:

bytes

See also

nvrtcGetOptiXIR