MCPcopy Create free account
hub / github.com/boostorg/compute / flush

Method flush

include/boost/compute/command_queue.hpp:1551–1559  ·  view source on GitHub ↗

Flushes the command queue. \see_opencl_ref{clFlush}

Source from the content-addressed store, hash-verified

1549 ///
1550 /// \see_opencl_ref{clFlush}
1551 void flush()
1552 {
1553 BOOST_ASSERT(m_queue != 0);
1554
1555 cl_int ret = clFlush(m_queue);
1556 if(ret != CL_SUCCESS){
1557 BOOST_THROW_EXCEPTION(opencl_error(ret));
1558 }
1559 }
1560
1561 /// Blocks until all outstanding commands in the queue have finished.
1562 ///

Callers 1

BOOST_AUTO_TEST_CASEFunction · 0.80

Calls 1

opencl_errorClass · 0.85

Tested by 1

BOOST_AUTO_TEST_CASEFunction · 0.64