cubecl_hip_sys

Function hiprtcDestroyProgram

Source
pub unsafe extern "C" fn hiprtcDestroyProgram(
    prog: *mut hiprtcProgram,
) -> hiprtcResult
Expand description

@brief Destroys an instance of given hiprtcProgram. @ingroup Runtime @param [in] prog runtime compilation program instance. @returns #HIPRTC_SUCCESS

If prog is NULL, it will return #HIPRTC_ERROR_INVALID_INPUT.

@see hiprtcResult