Home
last modified time | relevance | path

Searched refs:host_vec (Results 1 – 3 of 3) sorted by relevance

/third_party/boost/libs/compute/perf/
Dperf_bolt_max_element.cpp37 std::vector<int> host_vec = generate_random_vector<int>(PERF_N); in main() local
43 bolt::cl::copy(host_vec.begin(), host_vec.end(), device_vec.begin()); in main()
58 int host_max = *std::max_element(host_vec.begin(), host_vec.end()); in main()
Dperf_bolt_accumulate.cpp32 std::vector<int> host_vec = generate_random_vector<int>(PERF_N); in main() local
38 bolt::cl::copy(host_vec.begin(), host_vec.end(), device_vec.begin()); in main()
/third_party/boost/libs/compute/test/
Dtest_copy.cpp405 std::vector<bool> host_vec(vec.size()); in BOOST_AUTO_TEST_CASE() local
406 compute::copy(vec.begin(), vec.end(), host_vec.begin(), queue); in BOOST_AUTO_TEST_CASE()
407 BOOST_CHECK(host_vec[0] == true); in BOOST_AUTO_TEST_CASE()
408 BOOST_CHECK(host_vec[1] == false); in BOOST_AUTO_TEST_CASE()