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

Method set_range

include/boost/compute/algorithm/gather.hpp:36–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34 {}
35
36 void set_range(MapIterator first,
37 MapIterator last,
38 InputIterator input,
39 OutputIterator result)
40 {
41 m_count = iterator_range_size(first, last);
42
43 *this <<
44 "const uint i = get_global_id(0);\n" <<
45 result[expr<uint_>("i")] << "=" <<
46 input[first[expr<uint_>("i")]] << ";\n";
47 }
48
49 event exec(command_queue &queue)
50 {

Callers 3

searchFunction · 0.45
gatherFunction · 0.45
find_endFunction · 0.45

Calls 1

iterator_range_sizeFunction · 0.85

Tested by

no test coverage detected