Searched refs:host_vec (Results 1 – 3 of 3) sorted by relevance
37 std::vector<int> host_vec = generate_random_vector<int>(PERF_N); in main() local43 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()
32 std::vector<int> host_vec = generate_random_vector<int>(PERF_N); in main() local38 bolt::cl::copy(host_vec.begin(), host_vec.end(), device_vec.begin()); in main()
405 std::vector<bool> host_vec(vec.size()); in BOOST_AUTO_TEST_CASE() local406 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()