/external/OpenCL-CTS/test_conformance/spirv_new/ |
D | test_cl_khr_spirv_no_integer_wrap_decoration.cpp | 34 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 …]
|
D | test_decorate.cpp | 42 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()
|
D | test_op_lifetime.cpp | 27 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()
|
D | test_op_branch_conditional.cpp | 27 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()
|
D | test_op_selection_merge.cpp | 27 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()
|
D | test_op_phi.cpp | 27 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()
|
D | test_op_vector_times_scalar.cpp | 26 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()
|
D | test_op_fmath.cpp | 29 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()
|