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

Function fill

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

Source from the content-addressed store, hash-verified

274/// \see boost::compute::fill_n()
275template<class BufferIterator, class T>
276inline void fill(BufferIterator first,
277 BufferIterator last,
278 const T &value,
279 command_queue &queue = system::default_queue())
280{
281 size_t count = detail::iterator_range_size(first, last);
282 if(count == 0){
283 return;
284 }
285
286 detail::dispatch_fill(first, count, value, queue);
287}
288
289template<class BufferIterator, class T>
290inline future<void> fill_async(BufferIterator first,

Callers 15

mainFunction · 0.85
initializeGLMethod · 0.85
BOOST_AUTO_TEST_CASEFunction · 0.85
BOOST_AUTO_TEST_CASEFunction · 0.85
BOOST_AUTO_TEST_CASEFunction · 0.85
BOOST_AUTO_TEST_CASEFunction · 0.85
BOOST_AUTO_TEST_CASEFunction · 0.85
BOOST_AUTO_TEST_CASEFunction · 0.85
test_fillFunction · 0.85
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_fillFunction · 0.85

Tested by 15

BOOST_AUTO_TEST_CASEFunction · 0.68
BOOST_AUTO_TEST_CASEFunction · 0.68
BOOST_AUTO_TEST_CASEFunction · 0.68
BOOST_AUTO_TEST_CASEFunction · 0.68
BOOST_AUTO_TEST_CASEFunction · 0.68
BOOST_AUTO_TEST_CASEFunction · 0.68
test_fillFunction · 0.68
BOOST_AUTO_TEST_CASEFunction · 0.68
BOOST_AUTO_TEST_CASEFunction · 0.68
BOOST_AUTO_TEST_CASEFunction · 0.68
BOOST_AUTO_TEST_CASEFunction · 0.68
BOOST_AUTO_TEST_CASEFunction · 0.68