Execution Engines
UCC.ExecutionEngine Type
julia
UCC.ExecutionEngine(team::Team, ee_type, ee_context::Ptr, [ee_context_size]) :: ExecutionEngineCreate a UCC execution engine (e.g. a CUDA stream) on team. With CUDA.jl loaded, use UCC.ExecutionEngine(team, stream::CuStream).
Collectives initialized with post=false can then be posted in stream order with UCC.triggered_post!.
External links
ucc_ee_create,ucc_ee_destroy
UCC.triggered_post! Function
julia
UCC.triggered_post!(ee::ExecutionEngine, req::Request;
ev_type=UCC_EVENT_COMPUTE_COMPLETE) :: RequestPost req (initialized with post=false) so that it starts once the work already enqueued on ee has completed. Complete it with wait(req) as usual.
External links
ucc_collective_triggered_post
UCC.get_event Function
julia
UCC.get_event(ee::ExecutionEngine) :: Union{Ptr{ucc_ev_t},Nothing}Retrieve the next pending event of ee (or nothing). Acknowledge it with UCC.ack_event!.
External links
ucc_ee_get_event
UCC.ack_event! Function
julia
UCC.ack_event!(ee::ExecutionEngine, ev::Ptr{ucc_ev_t})Acknowledge an event obtained with UCC.get_event.
UCC.set_event! Function
julia
UCC.set_event!(ee::ExecutionEngine, ev::Ref{ucc_ev_t})Notify ee of an event.