Home
last modified time | relevance | path

Searched refs:host_keys (Results 1 – 6 of 6) sorted by relevance

/third_party/boost/libs/compute/test/
Dtest_sort_by_key.cpp96 std::vector<int> host_keys(n); in BOOST_AUTO_TEST_CASE() local
99 host_keys[i] = n - i; in BOOST_AUTO_TEST_CASE()
103 compute::vector<int> keys(host_keys.begin(), host_keys.end(), queue); in BOOST_AUTO_TEST_CASE()
121 std::vector<int_> host_keys(n); in BOOST_AUTO_TEST_CASE() local
124 host_keys[i] = n - i; in BOOST_AUTO_TEST_CASE()
133 compute::vector<int_> keys(host_keys.begin(), host_keys.end(), queue); in BOOST_AUTO_TEST_CASE()
151 std::vector<int_> host_keys(n); in BOOST_AUTO_TEST_CASE() local
154 host_keys[i] = n - i; in BOOST_AUTO_TEST_CASE()
163 compute::vector<int_> keys(host_keys.begin(), host_keys.end(), queue); in BOOST_AUTO_TEST_CASE()
181 std::vector<int_> host_keys(n); in BOOST_AUTO_TEST_CASE() local
[all …]
/third_party/boost/libs/compute/perf/
Dperf_sort_by_key.cpp39 std::vector<int_> host_keys(PERF_N); in main() local
40 std::generate(host_keys.begin(), host_keys.end(), rand); in main()
42 std::copy(host_keys.begin(), host_keys.end(), host_values.begin()); in main()
51 host_keys.begin(), host_keys.end(), device_keys.begin(), queue in main()
Dperf_reduce_by_key.cpp60 std::vector<int> host_keys(PERF_N); in main() local
62 std::generate(host_keys.begin(), host_keys.end(), UniqueKey); in main()
69 host_keys.begin(), in main()
70 host_keys.end(), in main()
106 if(result_size != static_cast<size_t>(host_keys[PERF_N-1] + 1)){ in main()
108 << "wrong number of keys" << result_size << "\n" << (host_keys[PERF_N-1] + 1) in main()
Dperf_bolt_reduce_by_key.cpp56 std::vector<int> host_keys(PERF_N); in main() local
58 std::generate(host_keys.begin(), host_keys.end(), UniqueKey); in main()
66 bolt::cl::copy(host_keys.begin(), host_keys.end(), device_keys.begin()); in main()
92 if(result_size != static_cast<size_t>(host_keys[PERF_N-1] + 1)){ in main()
Dperf_thrust_reduce_by_key.cu54 thrust::host_vector<int> host_keys(PERF_N); in main() local
56 std::generate(host_keys.begin(), host_keys.end(), UniqueKey); in main()
60 thrust::device_vector<int> device_keys = host_keys; in main()
84 if(result_size != static_cast<size_t>(host_keys[PERF_N-1] + 1)){ in main()
/third_party/libwebsockets/plugins/ssh-base/include/
Dlws-ssh.h550 struct host_keys { struct
555 extern struct host_keys host_keys[]; argument