Function cudarc::nvrtc::result::destroy_program
source · pub unsafe fn destroy_program(prog: nvrtcProgram) -> Result<(), NvrtcError>
Expand description
Releases resources associated with prog
.
See nvrtcDestroyProgram() docs.
Safety
prog
must be created from create_program() and not have been freed by destroy_program().