pub unsafe extern "C" fn hipStreamDestroy(
    stream: *mut ihipStream_t
) -> hipError_t
Expand description

@brief Destroys the specified stream.

@param[in, out] stream Valid pointer to hipStream_t. This function writes the memory with the newly created stream. @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