Home
last modified time | relevance | path

Searched refs:device_vector (Results 1 – 25 of 79) sorted by relevance

1234

/third_party/boost/libs/compute/test/
Dtest_copy_type_mismatch.cpp85 bc::vector<double_> device_vector(4, context); in BOOST_AUTO_TEST_CASE() local
88 bc::copy(host, host + 4, device_vector.begin(), queue); in BOOST_AUTO_TEST_CASE()
89 CHECK_RANGE_EQUAL(double_, 4, device_vector, (6.1f, 10.2f, 19.3f, 25.4f)); in BOOST_AUTO_TEST_CASE()
98 bc::vector<int_> device_vector(4, context); in BOOST_AUTO_TEST_CASE() local
101 bc::copy(host, host + 4, device_vector.begin(), queue); in BOOST_AUTO_TEST_CASE()
105 device_vector, in BOOST_AUTO_TEST_CASE()
124 bc::vector<int_> device_vector(4, context); in BOOST_AUTO_TEST_CASE() local
139 bc::copy(host, host + 4, device_vector.begin(), queue); in BOOST_AUTO_TEST_CASE()
143 device_vector, in BOOST_AUTO_TEST_CASE()
179 bc::vector<int_> device_vector(4, context); in BOOST_AUTO_TEST_CASE() local
[all …]
Dtest_user_defined_types.cpp87 compute::vector<UDD> device_vector(host_vector.size(), context); in BOOST_AUTO_TEST_CASE() local
89 host_vector.begin(), host_vector.end(), device_vector.begin(), queue in BOOST_AUTO_TEST_CASE()
94 device_vector.begin(), in BOOST_AUTO_TEST_CASE()
95 device_vector.end(), in BOOST_AUTO_TEST_CASE()
110 device_vector.begin(), in BOOST_AUTO_TEST_CASE()
111 device_vector.end(), in BOOST_AUTO_TEST_CASE()
Dtest_lambda.cpp552 compute::vector<compute::uint_> device_vector(host_data, host_data + 5, queue); in BOOST_AUTO_TEST_CASE() local
558 device_vector.begin(), device_vector.end(), in BOOST_AUTO_TEST_CASE()
559 device_vector.begin(), in BOOST_AUTO_TEST_CASE()
563 CHECK_RANGE_EQUAL(compute::uint_, 5, device_vector, (4, 4, 5, 6, 6)); in BOOST_AUTO_TEST_CASE()
569 compute::vector<compute::short_> device_vector(host_data, host_data + 5, queue); in BOOST_AUTO_TEST_CASE() local
575 device_vector.begin(), device_vector.end(), in BOOST_AUTO_TEST_CASE()
576 device_vector.begin(), in BOOST_AUTO_TEST_CASE()
580 CHECK_RANGE_EQUAL(compute::short_, 5, device_vector, (4, 4, 5, 6, 6)); in BOOST_AUTO_TEST_CASE()
586 compute::vector<compute::uchar_> device_vector(host_data, host_data + 5, queue); in BOOST_AUTO_TEST_CASE() local
592 device_vector.begin(), device_vector.end(), in BOOST_AUTO_TEST_CASE()
[all …]
/third_party/boost/libs/compute/example/
Dtransform_sqrt.cpp34 compute::vector<float> device_vector(host_vector.size(), context); in main() local
38 host_vector.begin(), host_vector.end(), device_vector.begin(), queue in main()
43 device_vector.begin(), in main()
44 device_vector.end(), in main()
45 device_vector.begin(), in main()
52 device_vector.begin(), device_vector.end(), host_vector.begin(), queue in main()
Dsort_vector.cpp46 compute::vector<int> device_vector = host_vector; in main() local
49 compute::sort(device_vector.begin(), device_vector.end()); in main()
52 compute::copy(device_vector.begin(), in main()
53 device_vector.end(), in main()
Dcopy_data.cpp31 compute::vector<int> device_vector(5, context); in main() local
35 host_data, host_data + 5, device_vector.begin(), queue in main()
43 device_vector.begin(), device_vector.end(), host_vector.begin(), queue in main()
/third_party/boost/libs/compute/perf/
Dperf_is_sorted.cpp39 boost::compute::vector<int> device_vector(PERF_N, context); in main() local
41 host_vector.begin(), host_vector.end(), device_vector.begin(), queue in main()
45 boost::compute::sort(device_vector.begin(), device_vector.end(), queue); in main()
46 boost::compute::reverse(device_vector.begin(), device_vector.end(), queue); in main()
52 device_vector.begin(), device_vector.end(), queue in main()
Dperf_sort_float.cpp43 boost::compute::vector<float> device_vector(PERF_N, context); in main() local
47 device_vector.begin(), in main()
55 device_vector.begin(), in main()
56 device_vector.end(), in main()
64 if(!boost::compute::is_sorted(device_vector.begin(), in main()
65 device_vector.end(), in main()
Dperf_prev_permutation.cpp45 boost::compute::vector<int> device_vector(PERF_N, context); in main() local
47 host_vector.begin(), host_vector.end(), device_vector.begin(), queue in main()
54 device_vector.begin(), device_vector.end(), queue in main()
59 device_vector.begin(), device_vector.end(), queue in main()
Dperf_next_permutation.cpp45 boost::compute::vector<int> device_vector(PERF_N, context); in main() local
47 host_vector.begin(), host_vector.end(), device_vector.begin(), queue in main()
54 device_vector.begin(), device_vector.end(), queue in main()
59 device_vector.begin(), device_vector.end(), queue in main()
Dperf_binary_find.cpp45 boost::compute::vector<int> device_vector(PERF_N, context); in main() local
47 host_vector.begin(), host_vector.end(), device_vector.begin(), queue in main()
52 device_vector.begin(), device_vector.end(), _1 < 20, queue in main()
63 device_vector.begin(), device_vector.end(), _1 >= 20, queue in main()
Dperf_partition_point.cpp45 boost::compute::vector<int> device_vector(PERF_N, context); in main() local
47 host_vector.begin(), host_vector.end(), device_vector.begin(), queue in main()
52 device_vector.begin(), device_vector.end(), _1 < 20, queue in main()
60 device_vector.begin(), device_vector.end(), _1 < 20, queue in main()
Dperf_comparison_sort.cpp45 boost::compute::vector<int_> device_vector(PERF_N, context); in main() local
59 device_vector.begin(), in main()
66 device_vector.begin(), in main()
67 device_vector.end(), in main()
77 if(!boost::compute::is_sorted(device_vector.begin(), in main()
78 device_vector.end(), in main()
Dperf_max_element.cpp42 boost::compute::vector<int> device_vector(PERF_N, context); in main() local
46 device_vector.begin(), in main()
51 = device_vector.begin(); in main()
57 device_vector.begin(), device_vector.end(), queue in main()
82 size_t device_max_idx = std::distance(device_vector.begin(), device_max_iter); in main()
Dperf_erase_remove.cpp43 boost::compute::vector<int> device_vector( in main() local
48 device_vector.erase( in main()
50 device_vector.begin(), device_vector.end(), 4, queue in main()
52 device_vector.end(), in main()
Dperf_rotate.cpp43 boost::compute::vector<int> device_vector(PERF_N, context); in main() local
45 host_vector.begin(), host_vector.end(), device_vector.begin(), queue in main()
52 device_vector.begin(), device_vector.begin()+(PERF_N/2), device_vector.end(), queue in main()
Dperf_nth_element.cpp43 boost::compute::vector<int> device_vector(PERF_N, context); in main() local
45 host_vector.begin(), host_vector.end(), device_vector.begin(), queue in main()
52 device_vector.begin(), device_vector.begin()+(PERF_N/2), device_vector.end(), queue in main()
Dperf_partition.cpp43 boost::compute::vector<int> device_vector(PERF_N, context); in main() local
45 host_vector.begin(), host_vector.end(), device_vector.begin(), queue in main()
53 host_vector.begin(), host_vector.end(), device_vector.begin(), queue in main()
58 device_vector.begin(), device_vector.end(), _1 < 10, queue in main()
Dperf_rotate_copy.cpp43 boost::compute::vector<int> device_vector(PERF_N, context); in main() local
45 host_vector.begin(), host_vector.end(), device_vector.begin(), queue in main()
54device_vector.begin(), device_vector.begin()+(PERF_N/2), device_vector.end(), device_vector2.begin… in main()
Dperf_cart_to_polar.cpp102 compute::vector<float2_> device_vector(PERF_N, context); in main() local
106 device_vector.begin(), in main()
114 device_vector.begin(), in main()
115 device_vector.end(), in main()
116 device_vector.begin(), in main()
136 device_vector.begin(), in main()
137 device_vector.end(), in main()
Dperf_thrust_reduce_by_key.cu60 thrust::device_vector<int> device_keys = host_keys; in main()
61 thrust::device_vector<int> device_values = host_values; in main()
64 thrust::device_vector<int> device_keys_results(PERF_N); in main()
65 thrust::device_vector<int> device_values_results(PERF_N); in main()
67 typedef typename thrust::device_vector<int>::iterator iterType; in main()
Dperf_exclusive_scan.cpp44 boost::compute::vector<int> device_vector(PERF_N, context); in main() local
49 device_vector.begin(), in main()
59 device_vector.begin(), in main()
65 device_vector.begin(), in main()
66 device_vector.end(), in main()
Dperf_partial_sum.cpp46 boost::compute::vector<int_> device_vector(PERF_N, context); in main() local
51 device_vector.begin(), in main()
61 device_vector.begin(), in main()
67 device_vector.begin(), in main()
68 device_vector.end(), in main()
Dperf_bolt_reduce_by_key.cpp62 bolt::cl::device_vector<int> device_keys(PERF_N); in main()
63 bolt::cl::device_vector<int> device_values(PERF_N); in main()
70 bolt::cl::device_vector<int> device_keys_results(PERF_N); in main()
71 bolt::cl::device_vector<int> device_values_results(PERF_N); in main()
73 typedef bolt::cl::device_vector<int>::iterator iterType; in main()
Dperf_search_n.cpp43 boost::compute::vector<int> device_vector(PERF_N, context); in main() local
45 host_vector.begin(), host_vector.end(), device_vector.begin(), queue in main()
52 device_vector.begin(), device_vector.end(), in main()

1234