Home
last modified time | relevance | path

Searched refs:h_rhs (Results 1 – 8 of 8) sorted by relevance

/external/OpenCL-CTS/test_conformance/spirv_new/
Dtest_cl_khr_spirv_no_integer_wrap_decoration.cpp34 std::vector<T> h_rhs(num); in test_ext_cl_khr_spirv_no_integer_wrap_decoration() local
67 h_rhs.push_back(0); in test_ext_cl_khr_spirv_no_integer_wrap_decoration()
68 h_rhs.push_back(1); in test_ext_cl_khr_spirv_no_integer_wrap_decoration()
69 h_rhs.push_back(2); in test_ext_cl_khr_spirv_no_integer_wrap_decoration()
70 h_rhs.push_back(3); in test_ext_cl_khr_spirv_no_integer_wrap_decoration()
71 h_rhs.push_back(4); in test_ext_cl_khr_spirv_no_integer_wrap_decoration()
72 h_rhs.push_back(5); in test_ext_cl_khr_spirv_no_integer_wrap_decoration()
73 h_rhs.push_back(6); in test_ext_cl_khr_spirv_no_integer_wrap_decoration()
74 h_rhs.push_back(7); in test_ext_cl_khr_spirv_no_integer_wrap_decoration()
75 h_rhs.push_back(8); in test_ext_cl_khr_spirv_no_integer_wrap_decoration()
[all …]
Dtest_decorate.cpp42 std::vector<cl_int> h_rhs(num); in verify_results() local
49 h_rhs[i] = genrand<cl_int>(seed); in verify_results()
66 err = clEnqueueWriteBuffer(queue, rhs, CL_TRUE, 0, bytes, &h_rhs[0], 0, NULL, NULL); in verify_results()
90 if (h_res[i] != (h_lhs[i] + h_rhs[i])) { in verify_results()
205 std::vector<Ti> h_rhs(num); in verify_saturated_results() local
218 h_rhs[i] = NAN; in verify_saturated_results()
220 h_rhs[i] = (Ti)(val); in verify_saturated_results()
233 err = clEnqueueWriteBuffer(queue, rhs, CL_TRUE, 0, in_bytes, &h_rhs[0], 0, NULL, NULL); in verify_saturated_results()
257 Tl ival = (Tl)(h_lhs[i] * h_rhs[i]); in verify_saturated_results()
260 if (isnan(h_rhs[i])) { in verify_saturated_results()
Dtest_op_lifetime.cpp27 const std::vector<T> &h_rhs, in test_op_lifetime() argument
44 err = clEnqueueWriteBuffer(queue, rhs, CL_TRUE, 0, bytes, &h_rhs[0], 0, NULL, NULL); in test_op_lifetime()
Dtest_op_branch_conditional.cpp27 const std::vector<T> &h_rhs, in test_branch_conditional() argument
44 err = clEnqueueWriteBuffer(queue, rhs, CL_TRUE, 0, bytes, &h_rhs[0], 0, NULL, NULL); in test_branch_conditional()
Dtest_op_selection_merge.cpp27 const std::vector<T> &h_rhs, in test_selection_merge() argument
44 err = clEnqueueWriteBuffer(queue, rhs, CL_TRUE, 0, bytes, &h_rhs[0], 0, NULL, NULL); in test_selection_merge()
Dtest_op_phi.cpp27 const std::vector<T> &h_rhs, in test_phi() argument
44 err = clEnqueueWriteBuffer(queue, rhs, CL_TRUE, 0, bytes, &h_rhs[0], 0, NULL, NULL); in test_phi()
Dtest_op_vector_times_scalar.cpp26 std::vector<Ts> &h_rhs) in test_vector_times_scalar() argument
51 err = clEnqueueWriteBuffer(queue, rhs, CL_TRUE, 0, rhs_bytes, &h_rhs[0], 0, NULL, NULL); in test_vector_times_scalar()
Dtest_op_fmath.cpp29 std::vector<T> &h_rhs) in test_fmath() argument
51 err = clEnqueueWriteBuffer(queue, rhs, CL_TRUE, 0, bytes, &h_rhs[0], 0, NULL, NULL); in test_fmath()