cubecl_hip_sys

Function hipStreamDestroy

Source
pub unsafe extern "C" fn hipStreamDestroy(
    stream: hipStream_t,
) -> hipError_t
Expand description

@brief Destroys the specified stream.

@param[in] stream stream identifier. @return #hipSuccess #hipErrorInvalidHandle

Destroys the specified stream.

If commands are still executing on the specified stream, some may complete execution before the queue is deleted.

The queue may be destroyed while some commands are still inflight, or may wait for all commands queued to the stream before destroying it.

@see hipStreamCreate, hipStreamCreateWithFlags, hipStreamCreateWithPriority, hipStreamQuery, hipStreamWaitEvent, hipStreamSynchronize