pub unsafe fn get_ptx(prog: nvrtcProgram) -> Result<Vec<c_char>, NvrtcError>
Expand description
Extract the ptx associated with prog
. Call compile_program() before this.
See nvrtcGetPTX() docs and nvrtcGetPTXSize() docs.
Safety
prog
must be created from create_program() and not have been freed by destroy_program().