cudaStreamWaitEvent Interface

interface


Called by

interface~~cudastreamwaitevent~~CalledByGraph interface~cudastreamwaitevent cudaStreamWaitEvent proc~execute_self_copy abstract_backend%execute_self_copy proc~execute_self_copy->interface~cudastreamwaitevent proc~post_sync compressor_zfp%post_sync proc~post_sync->interface~cudastreamwaitevent proc~pre_sync compressor_zfp%pre_sync proc~pre_sync->interface~cudastreamwaitevent proc~wait abstract_backend%wait proc~wait->interface~cudastreamwaitevent proc~execute_fused backend_mpi%execute_fused proc~execute_fused->proc~execute_self_copy proc~execute_mpi backend_mpi%execute_mpi proc~execute_mpi->proc~execute_self_copy proc~execute_mpi->proc~execute_fused proc~execute_p2p_scheduled backend_mpi%execute_p2p_scheduled proc~execute_mpi->proc~execute_p2p_scheduled proc~execute_nccl backend_nccl%execute_nccl proc~execute_nccl->proc~execute_self_copy proc~execute_p2p_scheduled->proc~execute_self_copy proc~execute~2 abstract_backend%execute proc~execute~2->proc~execute_self_copy proc~execute~4 reshape_handle_generic%execute proc~execute~4->proc~execute~2

public function cudaStreamWaitEvent(stream, event, flags) result(cudaError_t) bind(C, name="cudaStreamWaitEvent")

Arguments

Type IntentOptional Attributes Name
type(dtfft_stream_t), value :: stream

Stream identifier

type(cudaEvent), value :: event

Event identifier

integer(kind=c_int), value :: flags

Flags for the wait operation

Return Value integer(kind=c_int)

Returns cudaSuccess if the stream is waiting successfully, or an error code if there was an issue.

Description

Makes a stream wait on an event.