Home
last modified time | relevance | path

Searched refs:h_res (Results 1 – 9 of 9) sorted by relevance

/external/OpenCL-CTS/test_conformance/spirv_new/
Dtest_decorate.cpp85 std::vector<cl_int> h_res(num); in verify_results() local
86 err = clEnqueueReadBuffer(queue, res, CL_TRUE, 0, bytes, &h_res[0], 0, NULL, NULL); in verify_results()
90 if (h_res[i] != (h_lhs[i] + h_rhs[i])) { in verify_results()
165 std::vector<packed_t> h_res(num); in TEST_SPIRV_FUNC() local
166 err = clEnqueueReadBuffer(queue, res, CL_TRUE, 0, bytes, &h_res[0], 0, NULL, NULL); in TEST_SPIRV_FUNC()
170 if (h_res[i].ival != 2100483600 || in TEST_SPIRV_FUNC()
171 h_res[i].cval != 127) { in TEST_SPIRV_FUNC()
252 std::vector<To> h_res(num); in verify_saturated_results() local
253 err = clEnqueueReadBuffer(queue, res, CL_TRUE, 0, out_bytes, &h_res[0], 0, NULL, NULL); in verify_saturated_results()
264 if (val != h_res[i]) { in verify_saturated_results()
[all …]
Dtest_op_lifetime.cpp70 std::vector<T> h_res(num); in test_op_lifetime() local
71 err = clEnqueueReadBuffer(queue, res, CL_TRUE, 0, bytes, &h_res[0], 0, NULL, NULL); in test_op_lifetime()
75 if (h_res[i] != h_ref[i]) { in test_op_lifetime()
Dtest_op_branch_conditional.cpp70 std::vector<T> h_res(num); in test_branch_conditional() local
71 err = clEnqueueReadBuffer(queue, res, CL_TRUE, 0, bytes, &h_res[0], 0, NULL, NULL); in test_branch_conditional()
75 if (h_res[i] != h_ref[i]) { in test_branch_conditional()
Dtest_cl_khr_spirv_no_integer_wrap_decoration.cpp187 std::vector<T> h_res(num); in test_ext_cl_khr_spirv_no_integer_wrap_decoration() local
188 err = clEnqueueReadBuffer(queue, res, CL_TRUE, 0, bytes, &h_res[0], 0, NULL, NULL); in test_ext_cl_khr_spirv_no_integer_wrap_decoration()
192 if (expected_results[i] != h_res[i]) { in test_ext_cl_khr_spirv_no_integer_wrap_decoration()
193 …r("Values do not match at location %d expected = %d got = %d\n", i, expected_results[i], h_res[i]); in test_ext_cl_khr_spirv_no_integer_wrap_decoration()
Dtest_op_selection_merge.cpp70 std::vector<T> h_res(num); in test_selection_merge() local
71 err = clEnqueueReadBuffer(queue, res, CL_TRUE, 0, bytes, &h_res[0], 0, NULL, NULL); in test_selection_merge()
75 if (h_res[i] != h_ref[i]) { in test_selection_merge()
Dtest_op_phi.cpp70 std::vector<T> h_res(num); in test_phi() local
71 err = clEnqueueReadBuffer(queue, res, CL_TRUE, 0, bytes, &h_res[0], 0, NULL, NULL); in test_phi()
75 if (h_res[i] != h_ref[i]) { in test_phi()
Dtest_op_vector_times_scalar.cpp138 std::vector<Tv> h_res(num); in test_vector_times_scalar() local
139 err = clEnqueueReadBuffer(queue, res, CL_TRUE, 0, res_bytes, &h_res[0], 0, NULL, NULL); in test_vector_times_scalar()
143 if (h_res[i] != h_ref[i]) { in test_vector_times_scalar()
Dtest_op_fmath.cpp140 std::vector<T> h_res(num); in test_fmath() local
141 err = clEnqueueReadBuffer(queue, res, CL_TRUE, 0, bytes, &h_res[0], 0, NULL, NULL); in test_fmath()
145 if (h_res[i] != h_ref[i]) { in test_fmath()
/external/libdrm/tests/etnaviv/
Dwrite_bmp.c54 unsigned int h_res; member
83 .h_res = 0xB13, in bmp_header_write()