/external/OpenCL-CTS/test_conformance/spirv_new/ |
D | test_decorate.cpp | 85 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 …]
|
D | test_op_lifetime.cpp | 70 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()
|
D | test_op_branch_conditional.cpp | 70 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()
|
D | test_cl_khr_spirv_no_integer_wrap_decoration.cpp | 187 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()
|
D | test_op_selection_merge.cpp | 70 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()
|
D | test_op_phi.cpp | 70 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()
|
D | test_op_vector_times_scalar.cpp | 138 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()
|
D | test_op_fmath.cpp | 140 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/ |
D | write_bmp.c | 54 unsigned int h_res; member 83 .h_res = 0xB13, in bmp_header_write()
|