Home
last modified time | relevance | path

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

/third_party/boost/libs/compute/perf/
Dperf_bolt_saxpy.cpp45 std::vector<float> host_x(PERF_N); local
47 std::generate(host_x.begin(), host_x.end(), rand);
55 bolt::cl::copy(host_x.begin(), host_x.end(), device_x.begin());
72 bolt::cl::copy(device_x.begin(), device_x.end(), host_x.begin());
Dperf_thrust_saxpy.cu40 thrust::host_vector<int> host_x(PERF_N); in main() local
42 std::generate(host_x.begin(), host_x.end(), rand); in main()
46 thrust::device_vector<int> device_x = host_x; in main()
59 thrust::copy(device_x.begin(), device_x.end(), host_x.begin()); in main()
Dperf_thrust_inner_product.cu26 thrust::host_vector<int> host_x(PERF_N); in main() local
28 std::generate(host_x.begin(), host_x.end(), rand); in main()
32 thrust::device_vector<int> device_x = host_x; in main()
Dperf_stl_saxpy.cpp38 std::vector<float> host_x(PERF_N); in main() local
40 std::generate(host_x.begin(), host_x.end(), rand_float); in main()
46 serial_saxpy(PERF_N, alpha, &host_x[0], &host_y[0]); in main()
Dperf_saxpy.cpp143 std::vector<float> host_x(size); in main() local
145 std::generate(host_x.begin(), host_x.end(), rand_float); in main()
149 compute::vector<float> x(host_x.begin(), host_x.end(), queue); in main()
Dperf_bolt_inner_product.cpp32 std::vector<int> host_x = generate_random_vector<int>(PERF_N); in main() local
40 bolt::cl::copy(host_x.begin(), host_x.end(), device_x.begin()); in main()