Home
last modified time | relevance | path

Searched refs:h_vec (Results 1 – 14 of 14) sorted by relevance

/third_party/boost/libs/compute/perf/
Dperf_bolt_count.cpp37 std::vector<int> h_vec(PERF_N); in main() local
38 std::generate(h_vec.begin(), h_vec.end(), rand_int); in main()
44 bolt::cl::copy(h_vec.begin(), h_vec.end(), d_vec.begin()); in main()
Dperf_thrust_unique.cu33 thrust::host_vector<int> h_vec(PERF_N); in main() local
34 std::generate(h_vec.begin(), h_vec.end(), rand_int); in main()
40 d_vec = h_vec; in main()
Dperf_thrust_exclusive_scan.cu28 thrust::host_vector<int> h_vec = generate_random_vector<int>(PERF_N); in main() local
31 thrust::device_vector<int> d_vec = h_vec; in main()
35 d_vec = h_vec; in main()
45 thrust::copy(d_vec.begin(), d_vec.end(), h_vec.begin()); in main()
Dperf_thrust_partial_sum.cu28 thrust::host_vector<int> h_vec = generate_random_vector<int>(PERF_N); in main() local
31 thrust::device_vector<int> d_vec = h_vec; in main()
35 d_vec = h_vec; in main()
45 thrust::copy(d_vec.begin(), d_vec.end(), h_vec.begin()); in main()
Dperf_thrust_partition.cu41 thrust::host_vector<int> h_vec(PERF_N); in main() local
42 std::generate(h_vec.begin(), h_vec.end(), rand_int); in main()
48 d_vec = h_vec; in main()
Dperf_bolt_sort.cpp31 std::vector<int> h_vec = generate_random_vector<int>(PERF_N); in main() local
38 bolt::cl::copy(h_vec.begin(), h_vec.end(), d_vec.begin()); in main()
47 bolt::cl::copy(d_vec.begin(), d_vec.end(), h_vec.begin()); in main()
Dperf_bolt_exclusive_scan.cpp32 std::vector<int> h_vec = generate_random_vector<int>(PERF_N); in main() local
40 bolt::cl::copy(h_vec.begin(), h_vec.end(), d_vec.begin()); in main()
49 bolt::cl::copy(d_vec.begin(), d_vec.end(), h_vec.begin()); in main()
Dperf_bolt_partial_sum.cpp32 std::vector<int> h_vec = generate_random_vector<int>(PERF_N); in main() local
40 bolt::cl::copy(h_vec.begin(), h_vec.end(), d_vec.begin()); in main()
49 bolt::cl::copy(d_vec.begin(), d_vec.end(), h_vec.begin()); in main()
Dperf_thrust_reverse.cu28 thrust::host_vector<int> h_vec = generate_random_vector<int>(PERF_N); in main() local
35 d_vec = h_vec; in main()
45 thrust::copy(d_vec.begin(), d_vec.end(), h_vec.begin()); in main()
Dperf_thrust_sort.cu28 thrust::host_vector<int> h_vec = generate_random_vector<int>(PERF_N); in main() local
35 d_vec = h_vec; in main()
45 thrust::copy(d_vec.begin(), d_vec.end(), h_vec.begin()); in main()
Dperf_thrust_rotate.cu26 thrust::host_vector<int> h_vec = generate_random_vector<int>(PERF_N); in main() local
35 d_vec = h_vec; in main()
48 thrust::copy(d_vec.begin(), d_vec.end(), h_vec.begin()); in main()
Dperf_thrust_accumulate.cu28 thrust::host_vector<int> h_vec = generate_random_vector<int>(PERF_N); in main() local
31 thrust::device_vector<int> d_vec = h_vec; in main()
Dperf_thrust_reverse_copy.cu28 thrust::host_vector<int> h_vec = generate_random_vector<int>(PERF_N); in main() local
32 d_vec = h_vec; in main()
/third_party/boost/libs/math/example/
Dowens_t_example.cpp43 static const double h_vec[] = { in main() local
93 h = h_vec[i]; in main()