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~execute~12 abstract_backend%execute proc~execute~12->interface~cudastreamwaitevent proc~execute~12->proc~execute_self_copy proc~execute_mpi backend_mpi%execute_mpi proc~execute_mpi->proc~execute_self_copy proc~execute_p2p_scheduled backend_mpi%execute_p2p_scheduled proc~execute_mpi->proc~execute_p2p_scheduled proc~execute_p2p_scheduled->proc~execute_self_copy

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.