Home
last modified time | relevance | path

Searched refs:kernel_name (Results 1 – 25 of 82) sorted by relevance

1234

/external/gemmlowp/meta/generators/
Dcommon.py89 def __init__(self, emitter, kernel_name, output_stream_name): argument
90 self.kernel_name = kernel_name
98 in_type, out_type, self.kernel_name, self.output_stream_name, kernel_m,
104 'const FusedKernelParams<%s, %s>&' % (self.kernel_name,
109 _TemplateName(self.kernel_name + self.output_stream_name,
118 def __init__(self, emitter, kernel_name): argument
119 self.kernel_name = kernel_name
126 in_type, out_type, self.kernel_name, kernel_size, leftovers
131 ['const %s&' % self.kernel_name, 'params'],
134 _TemplateName(self.kernel_name, template_params))
/external/OpenCL-CTS/test_conformance/device_execution/
Dutils.cpp23 …_queue queue, const char** source, unsigned int num_lines, const char* kernel_name, void* results,… in run_single_kernel() argument
25 …return run_single_kernel_args(context, queue, source, num_lines, kernel_name, results, res_size, 0… in run_single_kernel()
28 …_queue queue, const char** source, unsigned int num_lines, const char* kernel_name, void* results,… in run_single_kernel_args() argument
30 …return run_n_kernel_args(context, queue, source, num_lines, kernel_name, 1, 1, results, res_size, … in run_single_kernel_args()
33 …_queue queue, const char** source, unsigned int num_lines, const char* kernel_name, size_t local, … in run_n_kernel_args() argument
43 …lper_with_build_options(context, &program, &kernel, num_lines, source, kernel_name, "-cl-std=CL2.0… in run_n_kernel_args()
50 …d, %d, %p) for kernel: '%s' failed: %d", 0, (int)sizeof(cl_mem), &mem, kernel_name, err_ret)) retu… in run_n_kernel_args()
55 … kernel: '%s' failed: %d", (int)(i+1), (int)args[i].size, args[i].ptr, kernel_name, err_ret)) retu… in run_n_kernel_args()
59 …if(check_error(err_ret, "clEnqueueNDRangeKernel('%s', gws=%d, lws=%d) failed", kernel_name, (int)g… in run_n_kernel_args()
Dutils.h44 const char* kernel_name; member
69 …_queue queue, const char** source, unsigned int num_lines, const char* kernel_name, void* results,…
70 …_queue queue, const char** source, unsigned int num_lines, const char* kernel_name, void* results,…
71 …_queue queue, const char** source, unsigned int num_lines, const char* kernel_name, size_t local, …
Dnested_blocks.cpp348 if (!gKernelName.empty() && gKernelName != sources_nested_blocks[k].src.kernel_name) in test_enqueue_nested_blocks()
351 …log_info("Running '%s' kernel (%d of %d) ...\n", sources_nested_blocks[k].src.kernel_name, k + 1, … in test_enqueue_nested_blocks()
354 …, sources_nested_blocks[k].src.num_lines, sources_nested_blocks[k].src.kernel_name, 0, MAX_GLOBAL_… in test_enqueue_nested_blocks()
355 …(err_ret, "'%s' kernel execution failed", sources_nested_blocks[k].src.kernel_name)) { res = -1; c… in test_enqueue_nested_blocks()
360 …(err_ret, "'%s' kernel execution failed", sources_nested_blocks[k].src.kernel_name)) { ++failCnt; … in test_enqueue_nested_blocks()
361 …ion failed: [%d] returned %d expected 0", sources_nested_blocks[k].src.kernel_name, fail, kernel_r… in test_enqueue_nested_blocks()
362 else log_info("'%s' kernel is OK.\n", sources_nested_blocks[k].src.kernel_name); in test_enqueue_nested_blocks()
Denqueue_flags.cpp712 if (!gKernelName.empty() && gKernelName != sources_enqueue_block_flags[i].kernel_name) in test_enqueue_flags()
715 …log_info("Running '%s' kernel (%d of %d) ...\n", sources_enqueue_block_flags[i].kernel_name, i + 1… in test_enqueue_flags()
725 …urces_enqueue_block_flags[i].num_lines, sources_enqueue_block_flags[i].kernel_name, local_size, gl… in test_enqueue_flags()
726 …rr_ret, "'%s' kernel execution failed", sources_enqueue_block_flags[i].kernel_name)) { ++failCnt; … in test_enqueue_flags()
732 …tion failed (test) %d != (expected) 1", sources_enqueue_block_flags[i].kernel_name, j, kernel_resu… in test_enqueue_flags()
737 …tion failed (test) %d != (expected) 0", sources_enqueue_block_flags[i].kernel_name, j, kernel_resu… in test_enqueue_flags()
743 if(r == 0) log_info("'%s' kernel is OK.\n", sources_enqueue_block_flags[i].kernel_name); in test_enqueue_flags()
Denqueue_block.cpp662 if (!gKernelName.empty() && gKernelName != sources_enqueue_block[i].kernel_name) in test_enqueue_block()
665 …log_info("Running '%s' kernel (%d of %d) ...\n", sources_enqueue_block[i].kernel_name, i + 1, num_… in test_enqueue_block()
666 …i].lines, sources_enqueue_block[i].num_lines, sources_enqueue_block[i].kernel_name, local_size, gl… in test_enqueue_block()
667 …rror(err_ret, "'%s' kernel execution failed", sources_enqueue_block[i].kernel_name)) { ++failCnt; … in test_enqueue_block()
668 …idation failed: [%d] returned %d expected 0", sources_enqueue_block[i].kernel_name, n, kernel_resu… in test_enqueue_block()
669 else log_info("'%s' kernel is OK.\n", sources_enqueue_block[i].kernel_name); in test_enqueue_block()
/external/OpenCL-CTS/test_conformance/clcpp/utils_common/
Dkernel_helpers.hpp26 const std::string& kernel_name, in create_opencl_kernel() argument
32 kernel_name.c_str(), build_options.c_str(), openclCXX in create_opencl_kernel()
40 const std::string& kernel_name, in create_opencl_kernel() argument
46 source.c_str(), kernel_name, build_options, openclCXX in create_opencl_kernel()
/external/OpenCL-CTS/test_conformance/spir/
Drun_build_test.cpp266 cl_program bcprog, const std::string& kernel_name, std::string& err, const cl_device_id device, in run_test() argument
275 clKernelWrapper kernel = create_kernel_helper(clprog, kernel_name); in run_test()
285 clKernelWrapper kernel = create_kernel_helper(bcprog, kernel_name); in run_test()
299 err = " (result diff in kernel '" + kernel_name + "')."; in run_test()
449 std::string kernel_name = *it++; in runBuildTest() local
453 bool success = run_test(context, queue, clprog, bcprog, kernel_name, err, device, ulps); in runBuildTest()
456 log_info("kernel '%s' passed.\n", kernel_name.c_str()); in runBuildTest()
457 (*m_successHandler)(test_name, kernel_name); in runBuildTest()
462 log_info("kernel '%s' failed.\n", kernel_name.c_str()); in runBuildTest()
463 (*m_failureHandler)(test_name, kernel_name); in runBuildTest()
[all …]
/external/tensorflow/tensorflow/core/kernels/
Dfused_eigen_output_kernels.cc24 OpKernelConstruction* context, const string& kernel_name, in InitializeFusedComputation() argument
34 return errors::InvalidArgument("Fused ", kernel_name, in InitializeFusedComputation()
66 "Fused ", kernel_name, in InitializeFusedComputation()
77 "Fused ", kernel_name, in InitializeFusedComputation()
/external/autotest/frontend/tko/
Dmodels_test.py18 kernel_name = 'mykernel1'
19 self.kernel1 = models.Kernel.objects.create(kernel_hash=kernel_name,
20 base=kernel_name,
21 printable=kernel_name)
/external/tensorflow/tensorflow/c/
Dkernels_test.cc113 const char* kernel_name = "SomeKernelName"; in TEST() local
128 TF_RegisterKernelBuilder(kernel_name, builder, status); in TEST()
165 const char* kernel_name = "InputOutputCounterKernel"; in TEST() local
215 TF_RegisterKernelBuilder(kernel_name, builder, status); in TEST()
255 const char* kernel_name = "SomeKernelName"; in TEST() local
270 TF_RegisterKernelBuilder(kernel_name, builder, status); in TEST()
299 const char* kernel_name = "SomeKernelName"; in TEST() local
314 TF_RegisterKernelBuilder(kernel_name, builder, status); in TEST()
338 void SetupOp(const char* op_name, const char* kernel_name, in SetupOp() argument
343 TF_RegisterKernelBuilder(kernel_name, builder, status); in SetupOp()
/external/tensorflow/tensorflow/core/framework/
Dlog_memory.cc47 void LogMemory::RecordTensorAllocation(const string& kernel_name, in RecordTensorAllocation() argument
52 allocation.set_kernel_name(kernel_name); in RecordTensorAllocation()
65 void LogMemory::RecordTensorOutput(const string& kernel_name, in RecordTensorOutput() argument
70 output.set_kernel_name(kernel_name); in RecordTensorOutput()
Dlog_memory.h70 static void RecordTensorAllocation(const string& kernel_name, int64 step_id,
83 static void RecordTensorOutput(const string& kernel_name, int64 step_id,
/external/tensorflow/tensorflow/compiler/xla/service/llvm_ir/
Dkernel_support_library.cc74 absl::string_view kernel_name, in EmitAndCallOutlinedKernel() argument
80 module->getFunction(llvm_ir::AsStringRef(kernel_name)); in EmitAndCallOutlinedKernel()
95 VLOG(2) << "Generating kernel for " << kernel_name; in EmitAndCallOutlinedKernel()
106 module_config, kernel_name, module); in EmitAndCallOutlinedKernel()
132 VLOG(3) << "Re-using kernel for " << kernel_name; in EmitAndCallOutlinedKernel()
/external/autotest/tko/
Dcompose_query.cgi178 def map_kernel_base(kernel_name): argument
181 kernel_name = kernel_name.replace('/','/<br>')
182 kernel_name = kernel_name.replace('/<br>/<br>','//')
183 return kernel_name
/external/OpenCL-CTS/test_conformance/clcpp/synchronization/named_barrier/
Dcommon.hpp96 std::string kernel_name = test.get_kernel_name(); 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/mesa3d/src/gallium/frontends/clover/llvm/codegen/
Dcommon.cpp108 const std::string &kernel_name) { in get_reqd_work_group_size() argument
109 const Function &f = *mod.getFunction(kernel_name); in get_reqd_work_group_size()
117 kernel_attributes(const Module &mod, const std::string &kernel_name) { in kernel_attributes() argument
120 const Function &f = *mod.getFunction(kernel_name); in kernel_attributes()
150 make_kernel_args(const Module &mod, const std::string &kernel_name, in make_kernel_args() argument
153 const Function &f = *mod.getFunction(kernel_name); in make_kernel_args()
/external/OpenCL-CTS/test_conformance/clcpp/reinterpret/
Das_type.hpp123 std::string kernel_name("test_"); kernel_name += op.str(); 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/synchronization/
Dtest_work_group_barrier.hpp196 std::string kernel_name = "test"; in test() local
206 source, kernel_name in test()
214 source, kernel_name, "-cl-std=CL2.0", false in test()
221 source, kernel_name in test()
Dtest_sub_group_barrier.hpp208 std::string kernel_name = "test"; in test() local
218 source, kernel_name in test()
226 source, kernel_name, "-cl-std=CL2.0", false in test()
233 source, kernel_name in test()
/external/OpenCL-CTS/test_conformance/clcpp/attributes/
Dtest_max_size.hpp109 std::string kernel_name = "test"; in test() local
119 source, kernel_name in test()
127 source, kernel_name, "", false in test()
143 context, &program, &kernel, 1, &source_c_str, kernel_name.c_str() in test()
Dtest_required_num_sub_groups.hpp119 std::string kernel_name = "test"; in test() local
129 source, kernel_name in test()
137 source, kernel_name, "-cl-std=CL2.0", false in test()
154 context, &program, &kernel, 1, &source_c_str, kernel_name.c_str() in test()
/external/OpenCL-CTS/test_conformance/clcpp/api/
Dtest_ctors.hpp100 std::string kernel_name, in test_ctors_execution() argument
116 error = create_opencl_kernel(context, &program, &kernel, kernel_source, kernel_name); in test_ctors_execution()
121 error = create_opencl_kernel(context, &program, &kernel, kernel_source, kernel_name, "", false); in test_ctors_execution()
125 error = create_opencl_kernel(context, &program, &kernel, kernel_source, kernel_name); in test_ctors_execution()
151 CHECK_ERROR_MSG(error, "Test %s failed.", kernel_name.c_str()); in test_ctors_execution()
/external/OpenCL-CTS/test_conformance/clcpp/atomics/
Datomic_fetch.hpp111 std::string kernel_name("test_"); kernel_name += op.str(); 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.hpp120 std::string kernel_name("test_"); kernel_name += op.str(); 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()

1234