Searched refs:host_x (Results 1 – 6 of 6) sorted by relevance
/third_party/boost/libs/compute/perf/ |
D | perf_bolt_saxpy.cpp | 45 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());
|
D | perf_thrust_saxpy.cu | 40 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()
|
D | perf_thrust_inner_product.cu | 26 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()
|
D | perf_stl_saxpy.cpp | 38 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()
|
D | perf_saxpy.cpp | 143 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()
|
D | perf_bolt_inner_product.cpp | 32 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()
|