Home
last modified time | relevance | path

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

/external/OpenCL-CTS/test_conformance/spirv_new/
Dtest_cl_khr_spirv_no_integer_wrap_decoration.cpp33 std::vector<T> h_lhs(num); in test_ext_cl_khr_spirv_no_integer_wrap_decoration() local
44 h_lhs.push_back((T)-25000); in test_ext_cl_khr_spirv_no_integer_wrap_decoration()
45 h_lhs.push_back((T)-3333); in test_ext_cl_khr_spirv_no_integer_wrap_decoration()
46 h_lhs.push_back((T)-7); in test_ext_cl_khr_spirv_no_integer_wrap_decoration()
47 h_lhs.push_back((T)-1); in test_ext_cl_khr_spirv_no_integer_wrap_decoration()
48 h_lhs.push_back(0); in test_ext_cl_khr_spirv_no_integer_wrap_decoration()
49 h_lhs.push_back(1); in test_ext_cl_khr_spirv_no_integer_wrap_decoration()
50 h_lhs.push_back(1024); in test_ext_cl_khr_spirv_no_integer_wrap_decoration()
51 h_lhs.push_back(2048); in test_ext_cl_khr_spirv_no_integer_wrap_decoration()
52 h_lhs.push_back(4094); in test_ext_cl_khr_spirv_no_integer_wrap_decoration()
[all …]
Dtest_op_lifetime.cpp26 const std::vector<T> &h_lhs, in test_op_lifetime() argument
32 int num = (int)h_lhs.size(); in test_op_lifetime()
38 err = clEnqueueWriteBuffer(queue, lhs, CL_TRUE, 0, bytes, &h_lhs[0], 0, NULL, NULL); in test_op_lifetime()
Dtest_decorate.cpp41 std::vector<cl_int> h_lhs(num); in verify_results() local
48 h_lhs[i] = genrand<cl_int>(seed); in verify_results()
60 err = clEnqueueWriteBuffer(queue, lhs, CL_TRUE, 0, bytes, &h_lhs[0], 0, NULL, NULL); in verify_results()
90 if (h_res[i] != (h_lhs[i] + h_rhs[i])) { in verify_results()
204 std::vector<Ti> h_lhs(num); in verify_saturated_results() local
214 h_lhs[i] = genrand<Ti>(seed) * range; in verify_saturated_results()
227 err = clEnqueueWriteBuffer(queue, lhs, CL_TRUE, 0, in_bytes, &h_lhs[0], 0, NULL, NULL); in verify_saturated_results()
257 Tl ival = (Tl)(h_lhs[i] * h_rhs[i]); in verify_saturated_results()
Dtest_op_branch_conditional.cpp26 const std::vector<T> &h_lhs, in test_branch_conditional() argument
32 int num = (int)h_lhs.size(); in test_branch_conditional()
38 err = clEnqueueWriteBuffer(queue, lhs, CL_TRUE, 0, bytes, &h_lhs[0], 0, NULL, NULL); in test_branch_conditional()
Dtest_op_selection_merge.cpp26 const std::vector<T> &h_lhs, in test_selection_merge() argument
32 int num = (int)h_lhs.size(); in test_selection_merge()
38 err = clEnqueueWriteBuffer(queue, lhs, CL_TRUE, 0, bytes, &h_lhs[0], 0, NULL, NULL); in test_selection_merge()
Dtest_op_phi.cpp26 const std::vector<T> &h_lhs, in test_phi() argument
32 int num = (int)h_lhs.size(); in test_phi()
38 err = clEnqueueWriteBuffer(queue, lhs, CL_TRUE, 0, bytes, &h_lhs[0], 0, NULL, NULL); in test_phi()
Dtest_op_vector_times_scalar.cpp25 std::vector<Tv> &h_lhs, in test_vector_times_scalar() argument
36 int num = (int)h_lhs.size(); in test_vector_times_scalar()
45 err = clEnqueueWriteBuffer(queue, lhs, CL_TRUE, 0, lhs_bytes, &h_lhs[0], 0, NULL, NULL); in test_vector_times_scalar()
Dtest_op_fmath.cpp28 std::vector<T> &h_lhs, in test_fmath() argument
39 int num = (int)h_lhs.size(); in test_fmath()
45 err = clEnqueueWriteBuffer(queue, lhs, CL_TRUE, 0, bytes, &h_lhs[0], 0, NULL, NULL); in test_fmath()