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

Function dispatch_copy

include/boost/compute/algorithm/copy.hpp:179–197  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

177// InputIterator is a contiguous iterator
178template<class InputIterator, class OutputIterator>
179inline OutputIterator
180dispatch_copy(InputIterator first,
181 InputIterator last,
182 OutputIterator result,
183 command_queue &queue,
184 const wait_list &events,
185 typename boost::enable_if<
186 mpl::and_<
187 mpl::not_<
188 is_device_iterator<InputIterator>
189 >,
190 is_device_iterator<OutputIterator>,
191 is_same_value_type<InputIterator, OutputIterator>,
192 is_contiguous_iterator<InputIterator>
193 >
194 >::type* = 0)
195{
196 return copy_to_device(first, last, result, queue, events);
197}
198
199// host -> device
200// Type mismatch between InputIterator and OutputIterator value_types

Callers 1

copyFunction · 0.85

Calls 15

copy_to_deviceFunction · 0.85
iterator_range_sizeFunction · 0.85
copy_to_device_mapFunction · 0.85
dispatch_copy_asyncFunction · 0.85
copy_to_hostFunction · 0.85
copy_to_host_mapFunction · 0.85
copyFunction · 0.85
copy_on_deviceFunction · 0.85
enqueue_copy_bufferMethod · 0.80
get_deviceMethod · 0.45
typeMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected