/external/OpenCL-CTS/test_conformance/spirv_new/ |
D | test_cl_khr_spirv_no_integer_wrap_decoration.cpp | 33 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 …]
|
D | test_op_lifetime.cpp | 26 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()
|
D | test_decorate.cpp | 41 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()
|
D | test_op_branch_conditional.cpp | 26 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()
|
D | test_op_selection_merge.cpp | 26 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()
|
D | test_op_phi.cpp | 26 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()
|
D | test_op_vector_times_scalar.cpp | 25 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()
|
D | test_op_fmath.cpp | 28 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()
|