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

Method reset

include/boost/compute/container/dynamic_bitset.hpp:206–209  ·  view source on GitHub ↗

Sets all of the bits in the bitset to zero.

Source from the content-addressed store, hash-verified

204
205 /// Sets all of the bits in the bitset to zero.
206 void reset(command_queue &queue)
207 {
208 fill(m_bits.begin(), m_bits.end(), block_type(0), queue);
209 }
210
211 /// Sets the bit at position \p n to zero.
212 void reset(size_type n, command_queue &queue)

Callers 1

BOOST_AUTO_TEST_CASEFunction · 0.80

Calls 3

fillFunction · 0.50
beginMethod · 0.45
endMethod · 0.45

Tested by 1

BOOST_AUTO_TEST_CASEFunction · 0.64