MCPcopy Create free account
hub / github.com/antmachineintelligence/mtgbmcode / wait

Method wait

compute/include/boost/compute/event.hpp:213–219  ·  view source on GitHub ↗

Blocks until the actions corresponding to the event have completed.

Source from the content-addressed store, hash-verified

211 /// Blocks until the actions corresponding to the event have
212 /// completed.
213 void wait() const
214 {
215 cl_int ret = clWaitForEvents(1, &m_event);
216 if(ret != CL_SUCCESS){
217 BOOST_THROW_EXCEPTION(opencl_error(ret));
218 }
219 }
220
221 #if defined(BOOST_COMPUTE_CL_VERSION_1_1) || defined(BOOST_COMPUTE_DOXYGEN_INVOKED)
222 /// Registers a function to be called when the event status changes to

Callers 7

GPUHistogramMethod · 0.45
WaitAndGetHistogramsMethod · 0.45
GPUHistogramMethod · 0.45
WaitAndGetHistogramsMethod · 0.45
mainFunction · 0.45
updateParticlesMethod · 0.45
mainFunction · 0.45

Calls 1

opencl_errorClass · 0.85

Tested by

no test coverage detected