pub unsafe extern "C" fn nvrtcDestroyProgram(
    prog: *mut nvrtcProgram
) -> nvrtcResult
Expand description

\ingroup compilation \brief nvrtcDestroyProgram destroys the given program.

\param [in] prog CUDA Runtime Compilation program. \return

  • \link #nvrtcResult NVRTC_SUCCESS \endlink
  • \link #nvrtcResult NVRTC_ERROR_INVALID_PROGRAM \endlink

\see ::nvrtcCreateProgram