MCPcopy Create free account
hub / github.com/arrayfire/arrayfire / block

Method block

src/backend/common/EventBase.hpp:70–70  ·  view source on GitHub ↗

\brief This function will block the calling thread until the event has completed

Source from the content-addressed store, hash-verified

68 /// \brief This function will block the calling thread until the event has
69 /// completed
70 ErrorType block() noexcept { return NativeEventPolicy::syncForEvent(&e_); }
71
72 /// \brief Returns true if the event is a valid event.
73 constexpr operator bool() const { return e_; }

Callers 6

blockFunction · 0.45
blockFunction · 0.45
blockFunction · 0.45
reduce_by_key_dimFunction · 0.45
reduce_by_key_firstFunction · 0.45
blockFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected