Lines Matching refs:compute
28 boost::compute::vector<int> vector(data, data + 4, queue); in BOOST_AUTO_TEST_CASE()
30 boost::compute::accumulate(vector.begin(), vector.end(), 0, queue), in BOOST_AUTO_TEST_CASE()
35 boost::compute::accumulate(vector.begin(), vector.end(), -10, queue), in BOOST_AUTO_TEST_CASE()
40 boost::compute::accumulate(vector.begin(), vector.end(), 5, queue), in BOOST_AUTO_TEST_CASE()
48 boost::compute::vector<int> vector(data, data + 4, queue); in BOOST_AUTO_TEST_CASE()
50 boost::compute::accumulate( in BOOST_AUTO_TEST_CASE()
51 vector.begin(), vector.end(), 1, boost::compute::multiplies<int>(), in BOOST_AUTO_TEST_CASE()
57 boost::compute::accumulate( in BOOST_AUTO_TEST_CASE()
58 vector.begin(), vector.end(), -1, boost::compute::multiplies<int>(), in BOOST_AUTO_TEST_CASE()
64 boost::compute::accumulate( in BOOST_AUTO_TEST_CASE()
65 vector.begin(), vector.end(), 2, boost::compute::multiplies<int>(), in BOOST_AUTO_TEST_CASE()
74 boost::compute::vector<int> vector(data, data + 3, queue); in BOOST_AUTO_TEST_CASE()
76 boost::compute::accumulate( in BOOST_AUTO_TEST_CASE()
80 boost::compute::divides<int>(), in BOOST_AUTO_TEST_CASE()
91 boost::compute::accumulate( in BOOST_AUTO_TEST_CASE()
92 boost::compute::make_counting_iterator(0), in BOOST_AUTO_TEST_CASE()
93 boost::compute::make_counting_iterator(10), in BOOST_AUTO_TEST_CASE()
95 boost::compute::plus<int>(), in BOOST_AUTO_TEST_CASE()
103 boost::compute::accumulate( in BOOST_AUTO_TEST_CASE()
104 boost::compute::make_counting_iterator(0), in BOOST_AUTO_TEST_CASE()
105 boost::compute::make_counting_iterator(10), in BOOST_AUTO_TEST_CASE()
107 boost::compute::plus<int>(), in BOOST_AUTO_TEST_CASE()
115 boost::compute::accumulate( in BOOST_AUTO_TEST_CASE()
116 boost::compute::make_counting_iterator(15), in BOOST_AUTO_TEST_CASE()
117 boost::compute::make_counting_iterator(25), in BOOST_AUTO_TEST_CASE()
119 boost::compute::plus<int>(), in BOOST_AUTO_TEST_CASE()
127 boost::compute::accumulate( in BOOST_AUTO_TEST_CASE()
128 boost::compute::make_counting_iterator(-5), in BOOST_AUTO_TEST_CASE()
129 boost::compute::make_counting_iterator(10), in BOOST_AUTO_TEST_CASE()
131 boost::compute::plus<int>(), in BOOST_AUTO_TEST_CASE()
139 boost::compute::accumulate( in BOOST_AUTO_TEST_CASE()
140 boost::compute::make_counting_iterator(-5), in BOOST_AUTO_TEST_CASE()
141 boost::compute::make_counting_iterator(10), in BOOST_AUTO_TEST_CASE()
143 boost::compute::plus<int>(), in BOOST_AUTO_TEST_CASE()
153 boost::compute::vector<int> vector(0, context); in BOOST_AUTO_TEST_CASE()
156 boost::compute::accumulate(vector.begin(), vector.end(), 0, queue), in BOOST_AUTO_TEST_CASE()
161 boost::compute::accumulate(vector.begin(), vector.end(), 4, queue), in BOOST_AUTO_TEST_CASE()
167 boost::compute::iota(vector.begin(), vector.end(), 0, queue); in BOOST_AUTO_TEST_CASE()
170 boost::compute::accumulate(vector.begin(), vector.end(), 0, queue), in BOOST_AUTO_TEST_CASE()
175 boost::compute::accumulate(vector.begin(), vector.end(), 11, queue), in BOOST_AUTO_TEST_CASE()
181 boost::compute::iota(vector.begin(), vector.end(), 0, queue); in BOOST_AUTO_TEST_CASE()
184 boost::compute::accumulate(vector.begin(), vector.end(), 0, queue), in BOOST_AUTO_TEST_CASE()
189 boost::compute::accumulate(vector.begin(), vector.end(), -45, queue), in BOOST_AUTO_TEST_CASE()
195 boost::compute::iota(vector.begin(), vector.end(), 0, queue); in BOOST_AUTO_TEST_CASE()
198 boost::compute::accumulate(vector.begin(), vector.end(), 0, queue), in BOOST_AUTO_TEST_CASE()
203 boost::compute::accumulate(vector.begin(), vector.end(), 2, queue), in BOOST_AUTO_TEST_CASE()
210 using boost::compute::int2_; in BOOST_AUTO_TEST_CASE()
213 boost::compute::vector<int> vector(data, data + 6, queue); in BOOST_AUTO_TEST_CASE()
220 int2_ result = boost::compute::accumulate( in BOOST_AUTO_TEST_CASE()
230 boost::compute::vector<float> vec(data, data + 8, queue); in BOOST_AUTO_TEST_CASE()
232 using ::boost::compute::min; in BOOST_AUTO_TEST_CASE()
233 using ::boost::compute::max; in BOOST_AUTO_TEST_CASE()
235 float min_value = boost::compute::accumulate( in BOOST_AUTO_TEST_CASE()
240 float max_value = boost::compute::accumulate( in BOOST_AUTO_TEST_CASE()
246 min_value = boost::compute::accumulate( in BOOST_AUTO_TEST_CASE()
252 max_value = boost::compute::accumulate( in BOOST_AUTO_TEST_CASE()
260 boost::compute::command_queue &queue) in ensure_std_accumulate_equality()
262 boost::compute::mapped_view<T> view(&data[0], data.size(), queue.get_context()); in ensure_std_accumulate_equality()
266 boost::compute::accumulate(view.begin(), view.end(), 0, queue) in ensure_std_accumulate_equality()