Home
last modified time | relevance | path

Searched refs:CLKernelLibrary (Results 1 – 25 of 290) sorted by relevance

12345678910>>...12

/external/ComputeLibrary/src/core/CL/
DCLKernelLibrary.cpp38 const std::map<std::string, std::string> CLKernelLibrary::_kernel_program_map =
475 const std::map<std::string, std::string> CLKernelLibrary::_program_source_map =
981 CLKernelLibrary::CLKernelLibrary() in CLKernelLibrary() function in CLKernelLibrary
987 CLKernelLibrary &CLKernelLibrary::get() in get()
989 static CLKernelLibrary _kernel_library; in get()
993 Kernel CLKernelLibrary::create_kernel(const std::string &kernel_name, const std::set<std::string> &… in create_kernel()
1001 std::string CLKernelLibrary::get_program_name(const std::string &kernel_name) const in get_program_name()
1016 void CLKernelLibrary::init(std::string kernel_path, cl::Context context, cl::Device device) in init()
1022 void CLKernelLibrary::set_kernel_path(const std::string &kernel_path) in set_kernel_path()
1027 cl::Context &CLKernelLibrary::context() in context()
[all …]
DCLValidate.h33 …ute::error_on_unsupported_fp16(__func__, __FILE__, __LINE__, tensor, CLKernelLibrary::get().fp16_s…
36 …ute::error_on_unsupported_fp16(__func__, __FILE__, __LINE__, tensor, CLKernelLibrary::get().fp16_s…
48 if(!CLKernelLibrary::get().int64_base_atomics_supported()) in error_on_unsupported_int64_base_atomics()
DCLCoreRuntimeContext.cpp43 CLCoreRuntimeContext::CLCoreRuntimeContext(CLKernelLibrary *kernel_lib, cl::Context ctx, cl::Comman… in CLCoreRuntimeContext()
48 CLKernelLibrary *CLCoreRuntimeContext::kernel_library() const in kernel_library()
DCLHelpers.cpp399 …return static_cast<cl::Kernel>(CLKernelLibrary::get().create_kernel(kernel_name, build_opts.option… in create_opencl_kernel()
405 const std::string program_name = CLKernelLibrary::get().get_program_name(kernel_name); in create_kernel()
406 std::pair<std::string, bool> kernel_src = CLKernelLibrary::get().get_program(program_name); in create_kernel()
407 const std::string kernel_path = CLKernelLibrary::get().get_kernel_path(); in create_kernel()
/external/ComputeLibrary/arm_compute/core/CL/
DCLKernelLibrary.h38 class CLKernelLibrary final
42 CLKernelLibrary();
44 CLKernelLibrary(const CLKernelLibrary &) = delete;
46 const CLKernelLibrary &operator=(const CLKernelLibrary &) = delete;
53 static CLKernelLibrary &get();
DCLCoreRuntimeContext.h32 class CLKernelLibrary; variable
42 CLCoreRuntimeContext(CLKernelLibrary *kernel_lib, cl::Context ctx, cl::CommandQueue queue);
57 CLKernelLibrary *kernel_library() const;
70 CLKernelLibrary *_kernel_lib{ nullptr };
/external/ComputeLibrary/tests/validation/CL/UNIT/
DCompileContext.cpp45 …CLCompileContext compile_context(CLKernelLibrary::get().context(), CLKernelLibrary::get().get_devi… in TEST_SUITE()
52 const std::string program_name = CLKernelLibrary::get().get_program_name(kernel_name); in TEST_SUITE()
53 std::pair<std::string, bool> kernel_src = CLKernelLibrary::get().get_program(program_name); in TEST_SUITE()
54 const std::string kernel_path = CLKernelLibrary::get().get_kernel_path(); in TEST_SUITE()
DTensorAllocator.cpp58 …cl_mem buf = clImportMemoryARM(CLKernelLibrary::get().context().get(), CL_MEM_READ_WRITE, import_p… in import_malloc_memory_helper()
114 if(!device_supports_extension(CLKernelLibrary::get().get_device(), "cl_arm_import_memory_host")) in TEST_CASE()
136 …const size_t alignment = CLKernelLibrary::get().get_device().getInfo<CL_DEVICE_GLOBAL_ME… in TEST_CASE()
177 if(!device_supports_extension(CLKernelLibrary::get().get_device(), "cl_arm_import_memory_host")) in TEST_CASE()
/external/ComputeLibrary/src/runtime/CL/
DCLRuntimeContext.cpp44 CLKernelLibrary::get().init(cl_kernels_folder, ctx, dev); in CLRuntimeContext()
45 …_core_context = CLCoreRuntimeContext(&CLKernelLibrary::get(), _gpu_owned_scheduler->context(), _gp… in CLRuntimeContext()
48 CLKernelLibrary &CLRuntimeContext::kernel_library() in kernel_library()
50 return CLKernelLibrary::get(); in kernel_library()
DCLScheduler.cpp37 _context = CLKernelLibrary::get().context(); in context()
112 CLKernelLibrary::get().init(cl_kernels_folder, ctx, device); in default_init_with_context()
129 CLKernelLibrary::get().init("./cl_kernels/", ctx, dev); in default_init()
142 CLKernelLibrary::get().set_context(_context); in set_context()
DUtils.cpp65 CLKernelLibrary::get().add_built_program(name, program); in restore_program_cache_from_file()
78 for(const auto &it : CLKernelLibrary::get().get_built_programs()) in save_program_cache_to_file()
/external/ComputeLibrary/src/core/CL/gemm/
DCLGEMMHelpers.cpp75 …const unsigned int pixel_aligment = get_cl_image_pitch_alignment(CLKernelLibrary::get().get_… in update_padding_for_cl_image()
90 …ARM_COMPUTE_RETURN_ERROR_ON_MSG(!image2d_from_buffer_supported(CLKernelLibrary::get().get_device()… in validate_image2d_support_on_rhs()
91 …ARM_COMPUTE_RETURN_ERROR_ON_MSG(get_cl_image_pitch_alignment(CLKernelLibrary::get().get_device()) … in validate_image2d_support_on_rhs()
95 …const size_t max_image_w = CLKernelLibrary::get().get_device().getInfo<CL_DEVICE_IMAGE2D_MAX_WIDTH… in validate_image2d_support_on_rhs()
96 …const size_t max_image_h = CLKernelLibrary::get().get_device().getInfo<CL_DEVICE_IMAGE2D_MAX_HEIGH… in validate_image2d_support_on_rhs()
/external/ComputeLibrary/src/runtime/CL/functions/
DCLColorConvert.cpp35 configure(CLKernelLibrary::get().get_compile_context(), input, output); in configure()
47 configure(CLKernelLibrary::get().get_compile_context(), input, output); in configure()
59 configure(CLKernelLibrary::get().get_compile_context(), input, output); in configure()
71 configure(CLKernelLibrary::get().get_compile_context(), input, output); in configure()
DCLAccumulate.cpp35 configure(CLKernelLibrary::get().get_compile_context(), input, accum); in configure()
47 configure(CLKernelLibrary::get().get_compile_context(), input, alpha, accum); in configure()
59 configure(CLKernelLibrary::get().get_compile_context(), input, shift, accum); in configure()
DCLThreshold.cpp35 …configure(CLKernelLibrary::get().get_compile_context(), input, output, ThresholdKernelInfo(thresho… in configure()
40 configure(CLKernelLibrary::get().get_compile_context(), input, output, info); in configure()
DCLChannelExtract.cpp35 configure(CLKernelLibrary::get().get_compile_context(), input, channel, output); in configure()
47 configure(CLKernelLibrary::get().get_compile_context(), input, channel, output); in configure()
DCLGEMMLowpOutputStage.cpp41 …configure(CLKernelLibrary::get().get_compile_context(), input, bias, output, result_fixedpoint_mul… in configure()
74 …configure(CLKernelLibrary::get().get_compile_context(), input, bias, output, result_fixedpoint_mul… in configure()
107 …configure(CLKernelLibrary::get().get_compile_context(), input, bias, output, result_fixedpoint_mul… in configure()
137 configure(CLKernelLibrary::get().get_compile_context(), input, bias, output, info); in configure()
DCLElementWiseUnaryLayer.cpp138 configure(CLKernelLibrary::get().get_compile_context(), input, output); in configure()
180 configure(CLKernelLibrary::get().get_compile_context(), input, output); in configure()
222 configure(CLKernelLibrary::get().get_compile_context(), input, output); in configure()
263 configure(CLKernelLibrary::get().get_compile_context(), input, output); in configure()
304 configure(CLKernelLibrary::get().get_compile_context(), input, output); in configure()
345 configure(CLKernelLibrary::get().get_compile_context(), input, output); in configure()
386 configure(CLKernelLibrary::get().get_compile_context(), input, output); in configure()
DCLChannelCombine.cpp35 configure(CLKernelLibrary::get().get_compile_context(), plane0, plane1, plane2, plane3, output); in configure()
47 configure(CLKernelLibrary::get().get_compile_context(), plane0, plane1, plane2, output); in configure()
DCLBatchToSpaceLayer.cpp47 configure(CLKernelLibrary::get().get_compile_context(), input, block_shape, output); in configure()
57 …configure(CLKernelLibrary::get().get_compile_context(), input, block_shape_x, block_shape_y, outpu… in configure()
DCLConvolution.cpp44 …configure(CLKernelLibrary::get().get_compile_context(), input, output, conv, scale, border_mode, c… in configure()
71 …configure(CLKernelLibrary::get().get_compile_context(), input, output, conv, scale, border_mode, c… in configure()
135 …configure(CLKernelLibrary::get().get_compile_context(), input, output, conv, rows, cols, scale, bo… in configure()
DCLScale.cpp38 configure(CLKernelLibrary::get().get_compile_context(), input, output, info); in configure()
44 …configure(CLKernelLibrary::get().get_compile_context(), input, output, ScaleKernelInfo{ policy, bo… in configure()
/external/ComputeLibrary/src/core/CL/kernels/
DCLAccumulateKernel.cpp43 configure(CLKernelLibrary::get().get_compile_context(), input, accum); in configure()
60 configure(CLKernelLibrary::get().get_compile_context(), input, alpha, accum); in configure()
82 configure(CLKernelLibrary::get().get_compile_context(), input, shift, accum); in configure()
DCLGaussian5x5Kernel.cpp32 configure(CLKernelLibrary::get().get_compile_context(), input, output, border_undefined); in configure()
45 configure(CLKernelLibrary::get().get_compile_context(), input, output, border_undefined); in configure()
/external/armnn/src/backends/cl/
DClContextControl.cpp114 arm_compute::CLKernelLibrary::get().clear_programs_cache(); in DoLoadOpenClRuntime()
118 arm_compute::CLKernelLibrary::get().init(".", context, device); in DoLoadOpenClRuntime()
158 arm_compute::CLKernelLibrary::get().init(".", context, device); in DoLoadOpenClRuntime()

12345678910>>...12