Home
last modified time | relevance | path

Searched refs:code_str (Results 1 – 25 of 31) sorted by relevance

12

/external/OpenCL-CTS/test_conformance/clcpp/synchronization/named_barrier/
Dcommon.hpp95 std::string code_str = test.generate_program(); in run_work_group_named_barrier_barrier_test() local
102 err = create_opencl_kernel(context, &program, &kernel, code_str, kernel_name); in run_work_group_named_barrier_barrier_test()
106 …err = create_opencl_kernel(context, &program, &kernel, code_str, kernel_name, "-cl-std=CL2.0", fal… in run_work_group_named_barrier_barrier_test()
109 err = create_opencl_kernel(context, &program, &kernel, code_str, kernel_name); in run_work_group_named_barrier_barrier_test()
/external/OpenCL-CTS/test_conformance/clcpp/workgroups/
Dtest_wg_broadcast.hpp263 std::string code_str; in work_group_broadcast() local
264 if(dim > 2) code_str = generate_wg_broadcast_3D_kernel_code(); in work_group_broadcast()
265 else if(dim > 1) code_str = generate_wg_broadcast_2D_kernel_code(); in work_group_broadcast()
266 else code_str = generate_wg_broadcast_1D_kernel_code(); in work_group_broadcast()
273 err = create_opencl_kernel(context, &program, &kernel, code_str, "test_wg_broadcast"); in work_group_broadcast()
278 …err = create_opencl_kernel(context, &program, &kernel, code_str, "test_wg_broadcast", "-cl-std=CL2… in work_group_broadcast()
281 err = create_opencl_kernel(context, &program, &kernel, code_str, "test_wg_broadcast"); in work_group_broadcast()
Dtest_wg_any.hpp135 std::string code_str = generate_wg_any_kernel_code(); in work_group_any() local
141 err = create_opencl_kernel(context, &program, &kernel, code_str, "test_wg_any"); in work_group_any()
146 …err = create_opencl_kernel(context, &program, &kernel, code_str, "test_wg_any", "-cl-std=CL2.0", f… in work_group_any()
149 err = create_opencl_kernel(context, &program, &kernel, code_str, "test_wg_any"); in work_group_any()
Dtest_wg_all.hpp135 std::string code_str = generate_wg_all_kernel_code(); in work_group_all() local
141 err = create_opencl_kernel(context, &program, &kernel, code_str, "test_wg_all"); in work_group_all()
146 …err = create_opencl_kernel(context, &program, &kernel, code_str, "test_wg_all", "-cl-std=CL2.0", f… in work_group_all()
149 err = create_opencl_kernel(context, &program, &kernel, code_str, "test_wg_all"); in work_group_all()
Dtest_wg_scan_exclusive.hpp173 std::string code_str = generate_wg_scan_exclusive_kernel_code<CL_INT_TYPE, op>(); in work_group_scan_exclusive() local
179 err = create_opencl_kernel(context, &program, &kernel, code_str, "test_wg_scan_exclusive"); in work_group_scan_exclusive()
184 …err = create_opencl_kernel(context, &program, &kernel, code_str, "test_wg_scan_exclusive", "-cl-st… in work_group_scan_exclusive()
187 err = create_opencl_kernel(context, &program, &kernel, code_str, "test_wg_scan_exclusive"); in work_group_scan_exclusive()
Dtest_wg_scan_inclusive.hpp173 std::string code_str = generate_wg_scan_inclusive_kernel_code<CL_INT_TYPE, op>(); in work_group_scan_inclusive() local
179 err = create_opencl_kernel(context, &program, &kernel, code_str, "test_wg_scan_inclusive"); in work_group_scan_inclusive()
184 …err = create_opencl_kernel(context, &program, &kernel, code_str, "test_wg_scan_inclusive", "-cl-st… in work_group_scan_inclusive()
187 err = create_opencl_kernel(context, &program, &kernel, code_str, "test_wg_scan_inclusive"); in work_group_scan_inclusive()
Dtest_wg_reduce.hpp180 std::string code_str = generate_wg_reduce_kernel_code<CL_INT_TYPE, op>(); in work_group_reduce() local
186 err = create_opencl_kernel(context, &program, &kernel, code_str, "test_wg_reduce"); in work_group_reduce()
191 …err = create_opencl_kernel(context, &program, &kernel, code_str, "test_wg_reduce", "-cl-std=CL2.0"… in work_group_reduce()
194 err = create_opencl_kernel(context, &program, &kernel, code_str, "test_wg_reduce"); in work_group_reduce()
/external/OpenCL-CTS/test_conformance/clcpp/address_spaces/
Dcommon.hpp118 std::string code_str = op.generate_program(); in run_address_spaces_test() local
130 err = create_opencl_kernel(context, &program, &(kernels[0]), code_str, kernel_names[0]); in run_address_spaces_test()
134 …err = create_opencl_kernel(context, &program, &(kernels[0]), code_str, kernel_names[0], "-cl-std=C… in run_address_spaces_test()
142 err = create_opencl_kernel(context, &program, &(kernels[0]), code_str, kernel_names[0]); in run_address_spaces_test()
/external/OpenCL-CTS/test_conformance/clcpp/program_scope_ctors_dtors/
Dcommon.hpp194 std::string code_str = op.generate_program(); in run_ps_ctor_dtor_test() local
207 err = create_opencl_kernel(context, &program, &(kernels[0]), code_str, kernel_names[0]); in run_ps_ctor_dtor_test()
211 …err = create_opencl_kernel(context, &program, &(kernels[0]), code_str, kernel_names[0], "-cl-std=C… in run_ps_ctor_dtor_test()
219 err = create_opencl_kernel(context, &program, &(kernels[0]), code_str, kernel_names[0]); in run_ps_ctor_dtor_test()
/external/OpenCL-CTS/test_conformance/clcpp/spec_constants/
Dcommon.hpp144 std::string code_str = op.generate_program(); in run_spec_constants_test() local
166 … err = create_opencl_kernel(context, &program, &(kernels[0]), code_str, kernel_names[0], options); in run_spec_constants_test()
170 …err = create_opencl_kernel(context, &program, &(kernels[0]), code_str, kernel_names[0], "-cl-std=C… in run_spec_constants_test()
178 const char * code_c_str = code_str.c_str(); in run_spec_constants_test()
/external/OpenCL-CTS/test_conformance/clcpp/reinterpret/
Das_type.hpp122 std::string code_str = generate_kernel_as_type<as_type_op, INPUT, OUTPUT>(op); in test_as_type_func() local
130 error = create_opencl_kernel(context, &program, &kernel, code_str, kernel_name); in test_as_type_func()
135 …error = create_opencl_kernel(context, &program, &kernel, code_str, kernel_name, "-cl-std=CL2.0", f… in test_as_type_func()
138 error = create_opencl_kernel(context, &program, &kernel, code_str, kernel_name); in test_as_type_func()
/external/OpenCL-CTS/test_conformance/clcpp/utils_test/
Dunary.hpp195 std::string code_str = generate_kernel_unary<unary_op, INPUT, OUTPUT>(op); in test_unary_func() local
203 err = create_opencl_kernel(context, &program, &kernel, code_str, kernel_name); in test_unary_func()
208 …err = create_opencl_kernel(context, &program, &kernel, code_str, kernel_name, "-cl-std=CL2.0", fal… in test_unary_func()
211 err = create_opencl_kernel(context, &program, &kernel, code_str, kernel_name); in test_unary_func()
Dbinary.hpp219 std::string code_str = generate_kernel_binary<binary_op, INPUT1, INPUT2, OUTPUT>(op); in test_binary_func() local
227 err = create_opencl_kernel(context, &program, &kernel, code_str, kernel_name); in test_binary_func()
232 …err = create_opencl_kernel(context, &program, &kernel, code_str, kernel_name, "-cl-std=CL2.0", fal… in test_binary_func()
235 err = create_opencl_kernel(context, &program, &kernel, code_str, kernel_name); in test_binary_func()
Dternary.hpp258 std::string code_str = generate_kernel_ternary<ternary_op, INPUT1, INPUT2, INPUT3, OUTPUT>(op); in test_ternary_func() local
266 err = create_opencl_kernel(context, &program, &kernel, code_str, kernel_name); in test_ternary_func()
271 …err = create_opencl_kernel(context, &program, &kernel, code_str, kernel_name, "-cl-std=CL2.0", fal… in test_ternary_func()
274 err = create_opencl_kernel(context, &program, &kernel, code_str, kernel_name); in test_ternary_func()
/external/OpenCL-CTS/test_conformance/clcpp/subgroups/
Dtest_sg_broadcast.hpp106 std::string code_str = generate_sg_broadcast_kernel_code(); in sub_group_broadcast() local
113 err = create_opencl_kernel(context, &program, &kernel, code_str, "test_sg_broadcast"); in sub_group_broadcast()
121 err = create_opencl_kernel(context, &program, &kernel, code_str, "test_sg_broadcast"); in sub_group_broadcast()
Dtest_sg_all.hpp121 std::string code_str = generate_sg_all_kernel_code(); in sub_group_all() local
127 err = create_opencl_kernel(context, &program, &kernel, code_str, "test_sg_all"); in sub_group_all()
135 err = create_opencl_kernel(context, &program, &kernel, code_str, "test_sg_all"); in sub_group_all()
Dtest_sg_any.hpp121 std::string code_str = generate_sg_any_kernel_code(); in sub_group_any() local
127 err = create_opencl_kernel(context, &program, &kernel, code_str, "test_sg_any"); in sub_group_any()
135 err = create_opencl_kernel(context, &program, &kernel, code_str, "test_sg_any"); in sub_group_any()
Dtest_sg_scan_exclusive.hpp162 std::string code_str = generate_sg_scan_exclusive_kernel_code<CL_INT_TYPE, op>(); in sub_group_scan_exclusive() local
168 err = create_opencl_kernel(context, &program, &kernel, code_str, "test_sg_scan_exclusive"); in sub_group_scan_exclusive()
176 err = create_opencl_kernel(context, &program, &kernel, code_str, "test_sg_scan_exclusive"); in sub_group_scan_exclusive()
Dtest_sg_scan_inclusive.hpp162 std::string code_str = generate_sg_scan_inclusive_kernel_code<CL_INT_TYPE, op>(); in sub_group_scan_inclusive() local
168 err = create_opencl_kernel(context, &program, &kernel, code_str, "test_sg_scan_inclusive"); in sub_group_scan_inclusive()
176 err = create_opencl_kernel(context, &program, &kernel, code_str, "test_sg_scan_inclusive"); in sub_group_scan_inclusive()
/external/v8/src/objects/
Djs-display-names.cc153 std::string code_str(code); in of() local
154 if (!IsUnicodeRegionSubtag(code_str)) { in of()
161 locale_display_names()->regionDisplayName(code_str.c_str(), result); in of()
175 std::string code_str(code); in of() local
176 if (!IsUnicodeScriptSubtag(code_str)) { in of()
183 locale_display_names()->scriptDisplayName(code_str.c_str(), result); in of()
197 std::string code_str(code); in of() local
198 if (!Intl::IsWellFormedCurrency(code_str)) { in of()
205 locale_display_names()->keyValueDisplayName("currency", code_str.c_str(), in of()
/external/OpenCL-CTS/test_conformance/clcpp/atomics/
Datomic_fetch.hpp110 std::string code_str = generate_kernel_atomic_fetch<atomic_fetch, TYPE>(op); in test_atomic_fetch_func() local
118 err = create_opencl_kernel(context, &program, &kernel, code_str, kernel_name); in test_atomic_fetch_func()
123 …err = create_opencl_kernel(context, &program, &kernel, code_str, kernel_name, "-cl-std=CL2.0", fal… in test_atomic_fetch_func()
126 err = create_opencl_kernel(context, &program, &kernel, code_str, kernel_name); in test_atomic_fetch_func()
/external/OpenCL-CTS/test_conformance/clcpp/vload_vstore/
Dvstore_funcs.hpp119 … std::string code_str = generate_kernel_vstore<vload_op, INPUT, OUTPUT, vload_op::vector_size>(op); in test_vstore_func() local
127 err = create_opencl_kernel(context, &program, &kernel, code_str, kernel_name); in test_vstore_func()
132 …err = create_opencl_kernel(context, &program, &kernel, code_str, kernel_name, "-cl-std=CL2.0", fal… in test_vstore_func()
135 err = create_opencl_kernel(context, &program, &kernel, code_str, kernel_name); in test_vstore_func()
Dvload_funcs.hpp116 … std::string code_str = generate_kernel_vload<vload_op, INPUT, OUTPUT, vload_op::vector_size>(op); in test_vload_func() local
124 err = create_opencl_kernel(context, &program, &kernel, code_str, kernel_name); in test_vload_func()
129 …err = create_opencl_kernel(context, &program, &kernel, code_str, kernel_name, "-cl-std=CL2.0", fal… in test_vload_func()
132 err = create_opencl_kernel(context, &program, &kernel, code_str, kernel_name); in test_vload_func()
/external/OpenCL-CTS/test_conformance/clcpp/convert/
Dconvert_cast.hpp204 std::string code_str = generate_kernel_convert_cast<convert_cast_op, INPUT, OUTPUT>(op); in test_convert_cast_func() local
212 error = create_opencl_kernel(context, &program, &kernel, code_str, kernel_name); in test_convert_cast_func()
217 …error = create_opencl_kernel(context, &program, &kernel, code_str, kernel_name, "-cl-std=CL2.0", f… in test_convert_cast_func()
220 error = create_opencl_kernel(context, &program, &kernel, code_str, kernel_name); in test_convert_cast_func()
/external/OpenCL-CTS/test_conformance/clcpp/math_funcs/
Dlogarithmic_funcs.hpp39 std::string code_str = in get_ilogb_nan_zero() local
47 …err = create_opencl_kernel(context, &program, &kernel, code_str, kernel_name, "-cl-std=CL2.0", fal… in get_ilogb_nan_zero()

12