/external/gemmlowp/meta/generators/ |
D | common.py | 90 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/ |
D | utils.cpp | 23 …_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()
|
D | utils.h | 44 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, …
|
D | nested_blocks.cpp | 348 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()
|
/external/ComputeLibrary/src/core/CL/kernels/ |
D | CLBitwiseKernel.cpp | 68 std::string kernel_name = ""; in configure() local 72 kernel_name = "bitwise_and"; in configure() 75 kernel_name = "bitwise_not"; in configure() 78 kernel_name = "bitwise_or"; in configure() 81 kernel_name = "bitwise_xor"; in configure() 91 _kernel = create_kernel(compile_context, kernel_name, build_opts.options()); in configure()
|
D | CLFFTRadixStageKernel.cpp | 105 std::string kernel_name = "fft"; in configure() local 106 kernel_name += "_radix_" + support::cpp11::to_string(config.radix); in configure() 107 kernel_name += (config.is_first_stage) ? "_first_stage" : ""; in configure() 108 kernel_name += "_axis_" + support::cpp11::to_string(config.axis); in configure() 109 _kernel = create_kernel(compile_context, kernel_name, build_opts.options()); in configure() 128 _config_id = kernel_name; in configure()
|
D | CLSelectKernel.cpp | 93 std::string kernel_name = "select"; in configure() local 96 kernel_name += "_same_rank"; in configure() 109 kernel_name += "_different_rank"; in configure() 110 kernel_name += is_input_rank_greater_than_two ? "_n" : "_2"; in configure() 112 _kernel = create_kernel(compile_context, kernel_name, build_opts.options()); in configure()
|
D | CLL2NormalizeLayerKernel.cpp | 107 std::string kernel_name; in configure() local 112 kernel_name = "l2_normalize_x"; in configure() 116 kernel_name = "l2_normalize_y"; in configure() 120 kernel_name = "l2_normalize_z"; in configure() 126 _kernel = create_kernel(compile_context, kernel_name, build_opts.options()); in configure()
|
D | CLRangeKernel.cpp | 95 std::string kernel_name = "range"; in configure() local 109 kernel_name += "_quantized"; in configure() 112 _kernel = create_kernel(compile_context, kernel_name, build_opts.options()); in configure() 116 _config_id = kernel_name; in configure()
|
/external/OpenCL-CTS/test_conformance/spir/ |
D | run_build_test.cpp | 266 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/ComputeLibrary/src/gpu/cl/kernels/ |
D | ClIm2ColKernel.cpp | 56 std::string kernel_name{}; member 162 std::string kernel_name = "im2col_generic_"; in configure_opencl_kernel() local 197 kernel_name = "im2col3x3_"; in configure_opencl_kernel() 202 kernel_name = "im2col9x9_"; in configure_opencl_kernel() 233 kernel_name = "im2col1x1_stridex1_"; in configure_opencl_kernel() 239 kernel_name = "im2col3x3_"; in configure_opencl_kernel() 244 kernel_name = "im2col5x5_"; in configure_opencl_kernel() 252 kernel_name = "im2col11x11_padx0_pady0_"; in configure_opencl_kernel() 258 kernel_name = "im2col_generic_"; in configure_opencl_kernel() 266 kernel_name = "im2col_generic_padx0_pady0_"; in configure_opencl_kernel() [all …]
|
D | ClGemmLowpReductionKernel.cpp | 96 …std::string kernel_name = "gemmlowp_matrix_a_reduction" + std::string(is_dot8_supported ? "_dot8" … in configure() local 99 build_opts.add_option("-D" + upper_string(kernel_name)); in configure() 102 _kernel = create_kernel(compile_context, kernel_name, build_opts.options()); in configure() 109 _config_id = kernel_name; in configure() 177 const std::string kernel_name = "gemmlowp_matrix_b_reduction"; in configure() local 180 build_opts.add_option("-D" + upper_string(kernel_name)); in configure() 183 _kernel = create_kernel(compile_context, kernel_name, build_opts.options()); in configure()
|
D | ClElementwiseKernel.cpp | 64 std::string generate_id_for_tuning_common(const std::string &kernel_name, const ITensorInfo &src1, … in generate_id_for_tuning_common() argument 68 config_id = kernel_name; in generate_id_for_tuning_common() 270 std::string kernel_name = "elementwise_operation_" + name(); in configure_common() local 273 kernel_name += "_quantized"; in configure_common() 286 _kernel = create_kernel(compile_context, kernel_name, build_opts.options()); in configure_common() 290 _config_id = generate_id_for_tuning(kernel_name, *src1, *dst); in configure_common() 400 std::string ClLogicalBinaryKernel::generate_id_for_tuning(const std::string &kernel_name, const ITe… in generate_id_for_tuning() argument 402 return generate_id_for_tuning_common(kernel_name, src1, dst); in generate_id_for_tuning() 446 std::string ClSaturatedArithmeticKernel::generate_id_for_tuning(const std::string &kernel_name, con… in generate_id_for_tuning() argument 448 auto config_id = generate_id_for_tuning_common(kernel_name, input1, output); in generate_id_for_tuning() [all …]
|
D | ClDequantizeKernel.cpp | 85 std::string kernel_name = "dequantization_layer"; in configure() local 98 kernel_name += "_per_channel"; in configure() 99 kernel_name += src->data_layout() == DataLayout::NCHW ? "_nchw" : "_nhwc"; in configure() 108 _kernel = create_kernel(compile_context, kernel_name, build_opts.options()); in configure()
|
D | ClWinogradInputTransformKernel.cpp | 174 …std::string kernel_name = "winograd_input_transform_" + output_tile_size.to_string() + "_" + kerne… in configure() local 186 kernel_name += "_stepz"; in configure() 187 kernel_name += support::cpp11::to_string(_step_z); in configure() 188 kernel_name += "_" + lower_string(string_from_data_layout(_data_layout)); in configure() 191 build_opts.add_option("-D" + upper_string(kernel_name)); in configure() 192 _kernel = create_kernel(compile_context, kernel_name, build_opts.options()); in configure() 203 _config_id = kernel_name; in configure()
|
D | ClElementwiseKernel.h | 79 …virtual std::string generate_id_for_tuning(const std::string &kernel_name, const ITensorInfo &src1… 116 …std::string generate_id_for_tuning(const std::string &kernel_name, const ITensorInfo &src1, const … 154 …std::string generate_id_for_tuning(const std::string &kernel_name, const ITensorInfo &input1, cons… 192 …std::string generate_id_for_tuning(const std::string &kernel_name, const ITensorInfo &src1, const …
|
/external/ComputeLibrary/tests/validation/CL/UNIT/ |
D | CompileContext.cpp | 51 const std::string kernel_name = "floor_layer"; in TEST_SUITE() local 52 const std::string program_name = CLKernelLibrary::get().get_program_name(kernel_name); in TEST_SUITE() 60 …compile_context.create_kernel(kernel_name, program_name, kernel_src.first, kernel_path, build_opts… in TEST_SUITE() 66 …compile_context.create_kernel(kernel_name, program_name, kernel_src.first, kernel_path, build_opts… in TEST_SUITE()
|
/external/tensorflow/tensorflow/core/kernels/ |
D | fused_eigen_output_kernels.cc | 24 OpKernelConstruction* context, const string& kernel_name, in InitializeFusedComputation() argument 34 return errors::InvalidArgument("Fused ", kernel_name, in InitializeFusedComputation() 68 "Fused ", kernel_name, in InitializeFusedComputation() 85 "Fused ", kernel_name, in InitializeFusedComputation()
|
/external/ComputeLibrary/src/core/CL/ |
D | CLKernelLibrary.cpp | 44 Kernel CLKernelLibrary::create_kernel(const std::string &kernel_name, const std::set<std::string> &… in create_kernel() argument 47 const std::string program_name = klib.program_name(kernel_name); in create_kernel() 50 …return _compile_context.create_kernel(kernel_name, program_name, program.program, kernel_path, bui… in create_kernel() 52 std::string CLKernelLibrary::get_program_name(const std::string &kernel_name) const in get_program_name() 54 return opencl::ClKernelLibrary::get().program_name(kernel_name); in get_program_name()
|
/external/autotest/frontend/tko/ |
D | models_test.py | 18 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/ |
D | list_flex_ops.h | 29 std::string kernel_name; member 36 return lhs.kernel_name < rhs.kernel_name; in operator()
|
/external/tensorflow/tensorflow/core/framework/ |
D | log_memory.cc | 51 void LogMemory::RecordTensorAllocation(const string& kernel_name, in RecordTensorAllocation() argument 56 allocation.set_kernel_name(kernel_name); in RecordTensorAllocation() 69 void LogMemory::RecordTensorOutput(const string& kernel_name, in RecordTensorOutput() argument 74 output.set_kernel_name(kernel_name); in RecordTensorOutput()
|
/external/tensorflow/tensorflow/compiler/xla/service/llvm_ir/ |
D | kernel_support_library.cc | 79 absl::string_view kernel_name, in EmitAndCallOutlinedKernel() argument 85 module->getFunction(llvm_ir::AsStringRef(kernel_name)); in EmitAndCallOutlinedKernel() 100 VLOG(2) << "Generating kernel for " << kernel_name; in EmitAndCallOutlinedKernel() 111 module_config, kernel_name, module); in EmitAndCallOutlinedKernel() 137 VLOG(3) << "Re-using kernel for " << kernel_name; in EmitAndCallOutlinedKernel()
|
/external/OpenCL-CTS/test_conformance/math_brute_force/ |
D | common.cpp | 81 std::string GetTernaryKernel(const std::string &kernel_name, in GetTernaryKernel() argument 99 __kernel void )", kernel_name.c_str(), R"((__global RETTYPE* out, in GetTernaryKernel() 110 __kernel void )", kernel_name.c_str(), R"((__global RETTYPE_SCALAR* out, in GetTernaryKernel()
|
/external/mesa3d/src/gallium/frontends/clover/llvm/codegen/ |
D | common.cpp | 108 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()
|