| 99 | // host -> device (async) |
| 100 | template<class InputIterator, class OutputIterator> |
| 101 | inline future<OutputIterator> |
| 102 | dispatch_copy_async(InputIterator first, |
| 103 | InputIterator last, |
| 104 | OutputIterator result, |
| 105 | command_queue &queue, |
| 106 | const wait_list &events, |
| 107 | typename boost::enable_if< |
| 108 | mpl::and_< |
| 109 | mpl::not_< |
| 110 | is_device_iterator<InputIterator> |
| 111 | >, |
| 112 | is_device_iterator<OutputIterator>, |
| 113 | is_same_value_type<InputIterator, OutputIterator> |
| 114 | > |
| 115 | >::type* = 0) |
| 116 | { |
| 117 | BOOST_STATIC_ASSERT_MSG( |
| 118 | is_contiguous_iterator<InputIterator>::value, |
| 119 | "copy_async() is only supported for contiguous host iterators" |
| 120 | ); |
| 121 | |
| 122 | return copy_to_device_async(first, last, result, queue, events); |
| 123 | } |
| 124 | |
| 125 | // host -> device (async) |
| 126 | // Type mismatch between InputIterator and OutputIterator value_types |
no test coverage detected