Home
last modified time | relevance | path

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

1234

/external/gemmlowp/meta/generators/
Dcommon.py90 def __init__(self, emitter, kernel_name, output_stream_name): argument
91 self.kernel_name = kernel_name
99 in_type, out_type, self.kernel_name, self.output_stream_name, kernel_m,
105 'const FusedKernelParams<%s, %s>&' % (self.kernel_name,
110 _TemplateName(self.kernel_name + self.output_stream_name,
119 def __init__(self, emitter, kernel_name): argument
120 self.kernel_name = kernel_name
127 in_type, out_type, self.kernel_name, kernel_size, leftovers
132 ['const %s&' % self.kernel_name, 'params'],
135 _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
44 source, kernel_name); in run_n_kernel_args()
51 …d, %d, %p) for kernel: '%s' failed: %d", 0, (int)sizeof(cl_mem), &mem, kernel_name, err_ret)) retu… in run_n_kernel_args()
56 … kernel: '%s' failed: %d", (int)(i+1), (int)args[i].size, args[i].ptr, kernel_name, err_ret)) retu… in run_n_kernel_args()
60 …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/tensorflow/tensorflow/core/profiler/utils/
Dkernel_stats_utils.cc95 bool IsKernelUsingTensorCore(absl::string_view kernel_name) { in IsKernelUsingTensorCore() argument
98 bool possible_tensor_kernel = absl::StrContains(kernel_name, "884") || in IsKernelUsingTensorCore()
99 absl::StrContains(kernel_name, "1688") || in IsKernelUsingTensorCore()
100 absl::StrContains(kernel_name, "hmma") || in IsKernelUsingTensorCore()
101 absl::StrContains(kernel_name, "xmma"); in IsKernelUsingTensorCore()
103 VLOG(3) << "Possible tensor kernel: " << kernel_name; in IsKernelUsingTensorCore()
106 return (absl::StartsWith(kernel_name, "volta_i884") || in IsKernelUsingTensorCore()
107 absl::StartsWith(kernel_name, "volta_h884") || in IsKernelUsingTensorCore()
108 absl::StartsWith(kernel_name, "volta_s884") || in IsKernelUsingTensorCore()
109 absl::StartsWith(kernel_name, "volta_fp16_i884") || in IsKernelUsingTensorCore()
[all …]
/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()
67 "Fused ", kernel_name, in InitializeFusedComputation()
84 "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/lite/tools/
Dlist_flex_ops.h29 std::string kernel_name; member
36 return lhs.kernel_name < rhs.kernel_name; in operator()
/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 std::string& kernel_name,
83 static void RecordTensorOutput(const std::string& kernel_name, int64 step_id,
/external/llvm-project/openmp/runtime/tools/lib/
DUname.pm221 } elsif ( $values{ kernel_name } eq "Linux" ) {
332 } elsif ( $values{ kernel_name } eq "Darwin" ) {
377 } elsif ( $values{ kernel_name } =~ m{\AWindows[ _]NT\z} ) {
382 } elsif ( $values{ kernel_name } =~ m{\ACYGWIN_NT-} ) {
384 } elsif ( $values{ kernel_name } =~ m{\AFreeBSD} ) {
386 } elsif ( $values{ kernel_name } =~ m{\ANetBSD} ) {
/external/tensorflow/tensorflow/compiler/xla/service/llvm_ir/
Dkernel_support_library.cc78 absl::string_view kernel_name, in EmitAndCallOutlinedKernel() argument
84 module->getFunction(llvm_ir::AsStringRef(kernel_name)); in EmitAndCallOutlinedKernel()
99 VLOG(2) << "Generating kernel for " << kernel_name; in EmitAndCallOutlinedKernel()
110 module_config, kernel_name, module); in EmitAndCallOutlinedKernel()
136 VLOG(3) << "Re-using kernel for " << kernel_name; in EmitAndCallOutlinedKernel()
Dkernel_support_library.h272 absl::string_view kernel_name, ArgumentVector arguments,
278 absl::string_view kernel_name, llvm::Value* arg0, llvm::Value* arg1, in EmitAndCallOutlinedKernel() argument
282 EmitAndCallOutlinedKernel(module_config, b, kernel_name, {arg0, arg1, arg2}, in EmitAndCallOutlinedKernel()
291 absl::string_view kernel_name, llvm::Value* arg0, llvm::Value* arg1, in EmitAndCallOutlinedKernel() argument
296 module_config, b, kernel_name, {arg0, arg1, arg2, arg3}, 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/llvm-project/openmp/libomptarget/plugins/amdgpu/impl/
Datmi_interop_hsa.cpp49 atmi_mem_place_t place, const char *kernel_name, in atmi_interop_hsa_get_kernel_info() argument
62 if (!kernel_name || !value || !machine) in atmi_interop_hsa_get_kernel_info()
70 std::string kernelStr = std::string(kernel_name); in atmi_interop_hsa_get_kernel_info()
/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/tensorflow/tensorflow/core/profiler/convert/
Dop_stats_to_tf_stats_test.cc38 absl::string_view kernel_name, in AddTensorFlowOpEvent() argument
40 absl::string_view name = on_device ? kernel_name : tf_op_fullname; in AddTensorFlowOpEvent()
54 absl::string_view kernel_name, in AddTensorFlowOpEventWithKernelDetails() argument
60 duration_ns, on_device, kernel_name, plane, line); in AddTensorFlowOpEventWithKernelDetails()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dkernel_thunk.h52 const string& kernel_name);
57 const string& kernel_name() const { return kernel_name_; } in kernel_name() function
Dbuffer_comparator.cc566 absl::string_view kernel_name) { in DeviceCompare() argument
606 kernel_name, buffer_compare_ptx, compiled_ptx))); in DeviceCompare()
688 absl::string_view kernel_name) { in CompareEqualParameterized() argument
692 DeviceCompare<ElementT>(stream, lhs, rhs, shape, config, kernel_name)); in CompareEqualParameterized()
/external/autotest/client/site_tests/platform_Perf/
Dplatform_Perf.py140 kernel_name = None
146 kernel_name = dso
159 keyvals['kernel_name'] = kernel_name
/external/tensorflow/tensorflow/stream_executor/
Dkernel_spec.cc50 absl::string_view kernel_name, in CudaPtxInMemory() argument
52 : KernelLoaderSpec(kernel_name), in CudaPtxInMemory()
64 absl::string_view kernel_name, bool ptx_compressed) in CudaPtxInMemory() argument
65 : KernelLoaderSpec(kernel_name), in CudaPtxInMemory()
/external/tensorflow/tensorflow/compiler/mlir/tools/kernel_gen/
Dtf_rocm_runtime_wrappers.cc94 void *module_blob, char *kernel_name, in tfKernelGenLaunchKernel() argument
110 hipModuleGetFunction(&function, module, kernel_name), ctx); in tfKernelGenLaunchKernel()

1234