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

Function fill_async

include/boost/compute/algorithm/fill.hpp:290–301  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

288
289template<class BufferIterator, class T>
290inline future<void> fill_async(BufferIterator first,
291 BufferIterator last,
292 const T &value,
293 command_queue &queue = system::default_queue())
294{
295 size_t count = detail::iterator_range_size(first, last);
296 if(count == 0){
297 return future<void>();
298 }
299
300 return detail::dispatch_fill_async(first, count, value, queue);
301}
302
303} // end compute namespace
304} // end boost namespace

Callers 3

BOOST_AUTO_TEST_CASEFunction · 0.85
BOOST_AUTO_TEST_CASEFunction · 0.85
BOOST_AUTO_TEST_CASEFunction · 0.85

Calls 2

iterator_range_sizeFunction · 0.85
dispatch_fill_asyncFunction · 0.85

Tested by 3

BOOST_AUTO_TEST_CASEFunction · 0.68
BOOST_AUTO_TEST_CASEFunction · 0.68
BOOST_AUTO_TEST_CASEFunction · 0.68