Home
last modified time | relevance | path

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

123456789

/aosp_15_r20/external/ComputeLibrary/src/core/CL/
H A DCLKernelLibrary.cpp34 CLKernelLibrary::CLKernelLibrary() in CLKernelLibrary() function in arm_compute::CLKernelLibrary
39 CLKernelLibrary &CLKernelLibrary::get() in get()
41 static CLKernelLibrary _kernel_library; in get()
44 Kernel CLKernelLibrary::create_kernel(const std::string &kernel_name, const std::set<std::string> &… in create_kernel()
49 const std::string &kernel_path = CLKernelLibrary::get().get_kernel_path(); in create_kernel()
52 std::string CLKernelLibrary::get_program_name(const std::string &kernel_name) const in get_program_name()
56 void CLKernelLibrary::init(std::string kernel_path, cl::Context context, cl::Device device) in init()
61 void CLKernelLibrary::set_kernel_path(const std::string &kernel_path) in set_kernel_path()
65 cl::Context &CLKernelLibrary::context() in context()
69 const cl::Device &CLKernelLibrary::get_device() in get_device()
[all …]
H A 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()
H A DCLHelpers.cpp458 if(!image2d_from_buffer_supported(CLKernelLibrary::get().get_device())) in export_to_cl_image()
464 if(get_cl_image_pitch_alignment(CLKernelLibrary::get().get_device()) == 0) in export_to_cl_image()
471 …const size_t max_image_w = CLKernelLibrary::get().get_device().getInfo<CL_DEVICE_IMAGE2D_MAX_WIDTH… in export_to_cl_image()
472 …const size_t max_image_h = CLKernelLibrary::get().get_device().getInfo<CL_DEVICE_IMAGE2D_MAX_HEIGH… in export_to_cl_image()
H A DICLKernel.h112 …t Window &window, CLTuningParams tuning_params_hint = CLTuningParams(CLKernelLibrary::get().defaul…
116 if(is_same_lws(_tuning_params_hint.get_lws(), CLKernelLibrary::get().default_ndrange()))
485 …LKernel &kernel, const Window &window, const cl::NDRange &lws_hint = CLKernelLibrary::get().defaul…
/aosp_15_r20/external/ComputeLibrary/arm_compute/core/CL/
H A DCLKernelLibrary.h38 class CLKernelLibrary final
42 CLKernelLibrary();
44 CLKernelLibrary(const CLKernelLibrary &) = delete;
46 const CLKernelLibrary &operator=(const CLKernelLibrary &) = delete;
53 static CLKernelLibrary &get();
/aosp_15_r20/external/ComputeLibrary/tests/validation/CL/UNIT/
H A 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()
H A DTensorAllocator.cpp63 …cl_mem buf = clImportMemoryARM(CLKernelLibrary::get().context().get(), CL_MEM_READ_WRITE, import_p… in import_malloc_memory_helper()
215 if(!device_supports_extension(CLKernelLibrary::get().get_device(), "cl_arm_import_memory_host")) in TEST_CASE()
237 …const size_t alignment = CLKernelLibrary::get().get_device().getInfo<CL_DEVICE_GLOBAL_ME… in TEST_CASE()
278 if(!device_supports_extension(CLKernelLibrary::get().get_device(), "cl_arm_import_memory_host")) in TEST_CASE()
/aosp_15_r20/external/ComputeLibrary/src/gpu/cl/kernels/gemm/
H A DClGemmHelpers.cpp77 …const unsigned int pixel_alignment = get_cl_image_pitch_alignment(CLKernelLibrary::get().get_… in update_padding_for_cl_image()
99 …ARM_COMPUTE_RETURN_ERROR_ON_MSG(!image2d_from_buffer_supported(CLKernelLibrary::get().get_device()… in validate_image2d_support_on_rhs()
100 …ARM_COMPUTE_RETURN_ERROR_ON_MSG(get_cl_image_pitch_alignment(CLKernelLibrary::get().get_device()) … in validate_image2d_support_on_rhs()
104 …const size_t max_image_w = CLKernelLibrary::get().get_device().getInfo<CL_DEVICE_IMAGE2D_MAX_WIDTH… in validate_image2d_support_on_rhs()
105 …const size_t max_image_h = CLKernelLibrary::get().get_device().getInfo<CL_DEVICE_IMAGE2D_MAX_HEIGH… in validate_image2d_support_on_rhs()
/aosp_15_r20/external/ComputeLibrary/src/runtime/CL/functions/
H A DCLElementwiseUnaryLayer.cpp51 configure(CLKernelLibrary::get().get_compile_context(), input, output); in configure()
93 configure(CLKernelLibrary::get().get_compile_context(), input, output); in configure()
135 configure(CLKernelLibrary::get().get_compile_context(), input, output); in configure()
176 configure(CLKernelLibrary::get().get_compile_context(), input, output); in configure()
217 configure(CLKernelLibrary::get().get_compile_context(), input, output); in configure()
258 configure(CLKernelLibrary::get().get_compile_context(), input, output); in configure()
299 configure(CLKernelLibrary::get().get_compile_context(), input, output); in configure()
H A DCLElementwiseOperations.cpp55 … configure(CLKernelLibrary::get().get_compile_context(), input1, input2, output, policy, act_info); in configure()
101 … configure(CLKernelLibrary::get().get_compile_context(), input1, input2, output, policy, act_info); in configure()
147 configure(CLKernelLibrary::get().get_compile_context(), input1, input2, output, act_info); in configure()
192 configure(CLKernelLibrary::get().get_compile_context(), input1, input2, output, act_info); in configure()
237 configure(CLKernelLibrary::get().get_compile_context(), input1, input2, output, act_info); in configure()
282 configure(CLKernelLibrary::get().get_compile_context(), input1, input2, output, act_info); in configure()
327 configure(CLKernelLibrary::get().get_compile_context(), input1, input2, output, act_info); in configure()
H A DCLBatchToSpaceLayer.cpp48 configure(CLKernelLibrary::get().get_compile_context(), input, block_shape, output); in configure()
59 …configure(CLKernelLibrary::get().get_compile_context(), input, block_shape_x, block_shape_y, outpu… in configure()
/aosp_15_r20/external/ComputeLibrary/tests/CL/
H A DHelper.h57 k->configure(CLKernelLibrary::get().get_compile_context(), std::forward<Args>(args)...); in configure()
70 k->configure(CLKernelLibrary::get().get_compile_context(), std::forward<Args>(args)...); in configure()
98 auto cctx = CLKernelLibrary::get().get_compile_context(); in configure()
236 … k->configure(CLKernelLibrary::get().get_compile_context(), first, std::forward<Args>(args)...); in configure()
240 …b->configure(CLKernelLibrary::get().get_compile_context(), first, BorderSize(_kernel->border_size(… in configure()
/aosp_15_r20/external/ComputeLibrary/tests/validation/CL/
H A DGEMMLowpMatrixMultiplyReshapedOnlyRhsMMUL.cpp115 if(arm_matrix_multiply_supported(CLKernelLibrary::get().get_device()))
140 if(arm_matrix_multiply_supported(CLKernelLibrary::get().get_device()))
166 if(arm_matrix_multiply_supported(CLKernelLibrary::get().get_device()))
192 if(arm_matrix_multiply_supported(CLKernelLibrary::get().get_device()))
H A DGEMMReshapeRHSMatrix.cpp148 …e = image2d_from_buffer_supported(CLKernelLibrary::get().get_device()) && (get_cl_image_pitch_alig…
155 …const unsigned int pixel_aligment = get_cl_image_pitch_alignment(CLKernelLibrary::get().get_d…
164 …kernel.configure(CLKernelLibrary::get().get_compile_context(), input.info(), output.info(), rhs_in…
/aosp_15_r20/external/ComputeLibrary/src/runtime/CL/
H A DCLScheduler.cpp35 _context = CLKernelLibrary::get().context(); in context()
116 CLKernelLibrary::get().init(cl_kernels_folder, ctx, device); in default_init_with_context()
132 CLKernelLibrary::get().init("./cl_kernels/", ctx, dev); in default_init()
151 CLKernelLibrary::get().set_context(_context); in set_context()
H A DCLRuntimeContext.cpp42 CLKernelLibrary::get().init(cl_kernels_folder, ctx, dev); in CLRuntimeContext()
45 CLKernelLibrary &CLRuntimeContext::kernel_library() in kernel_library()
47 return CLKernelLibrary::get(); in kernel_library()
H A DUtils.cpp67 CLKernelLibrary::get().add_built_program(name, program); in restore_program_cache_from_file()
80 for(const auto &it : CLKernelLibrary::get().get_built_programs()) in save_program_cache_to_file()
/aosp_15_r20/external/armnn/src/backends/cl/
H A DClBackend.hpp144 … arm_compute::CLKernelLibrary::get().get_device().getInfo<CL_DEVICE_GLOBAL_MEM_CACHELINE_SIZE>(); in MapAllocatedMemory()
156 … cl_mem buffer = clImportMemoryARM(arm_compute::CLKernelLibrary::get().context().get(), in MapAllocatedMemory()
181 … cl_mem buffer = clImportMemoryARM(arm_compute::CLKernelLibrary::get().context().get(), in MapAllocatedMemory()
207 … cl_mem buffer = clImportMemoryARM(arm_compute::CLKernelLibrary::get().context().get(), in MapAllocatedMemory()
H A DClContextControl.cpp116 arm_compute::CLKernelLibrary::get().clear_programs_cache(); in DoLoadOpenClRuntime()
120 arm_compute::CLKernelLibrary::get().init(".", context, device); in DoLoadOpenClRuntime()
160 arm_compute::CLKernelLibrary::get().init(".", context, device); in DoLoadOpenClRuntime()
H A DClImportTensorHandle.hpp212 … arm_compute::CLKernelLibrary::get().get_device().getInfo<CL_DEVICE_GLOBAL_MEM_CACHELINE_SIZE>(); in ClImport()
223 buffer = clImportMemoryARM(arm_compute::CLKernelLibrary::get().context().get(), in ClImport()
228 buffer = clImportMemoryARM(arm_compute::CLKernelLibrary::get().context().get(), in ClImport()
/aosp_15_r20/external/armnn/src/backends/cl/test/
H A DClImportTensorHandleTests.cpp44 … arm_compute::CLKernelLibrary::get().get_device().getInfo<CL_DEVICE_GLOBAL_MEM_CACHELINE_SIZE>();
84 … arm_compute::CLKernelLibrary::get().get_device().getInfo<CL_DEVICE_GLOBAL_MEM_CACHELINE_SIZE>();
159 … arm_compute::CLKernelLibrary::get().get_device().getInfo<CL_DEVICE_GLOBAL_MEM_CACHELINE_SIZE>();
237 … arm_compute::CLKernelLibrary::get().get_device().getInfo<CL_DEVICE_GLOBAL_MEM_CACHELINE_SIZE>();
263 … arm_compute::CLKernelLibrary::get().get_device().getInfo<CL_DEVICE_GLOBAL_MEM_CACHELINE_SIZE>();
356 … arm_compute::CLKernelLibrary::get().get_device().getInfo<CL_DEVICE_GLOBAL_MEM_CACHELINE_SIZE>();
492 … arm_compute::CLKernelLibrary::get().get_device().getInfo<CL_DEVICE_GLOBAL_MEM_CACHELINE_SIZE>();
640 … arm_compute::CLKernelLibrary::get().get_device().getInfo<CL_DEVICE_GLOBAL_MEM_CACHELINE_SIZE>();
779 … arm_compute::CLKernelLibrary::get().get_device().getInfo<CL_DEVICE_GLOBAL_MEM_CACHELINE_SIZE>();
931 … arm_compute::CLKernelLibrary::get().get_device().getInfo<CL_DEVICE_GLOBAL_MEM_CACHELINE_SIZE>();
[all …]
/aosp_15_r20/external/ComputeLibrary/tests/validation/dynamic_fusion/gpu/cl/
H A DResize.cpp97 CLCompileContext cl_compile_ctx = CLKernelLibrary::get().get_compile_context(); in TEST_CASE()
137 CLCompileContext cl_compile_ctx = CLKernelLibrary::get().get_compile_context(); in TEST_CASE()
159 CLCompileContext cl_compile_ctx = CLKernelLibrary::get().get_compile_context(); in TEST_CASE()
179 CLCompileContext cl_compile_ctx = CLKernelLibrary::get().get_compile_context(); in TEST_CASE()
200 CLCompileContext cl_compile_ctx = CLKernelLibrary::get().get_compile_context(); in TEST_CASE()
219 CLCompileContext cl_compile_ctx = CLKernelLibrary::get().get_compile_context(); in TEST_CASE()
/aosp_15_r20/external/ComputeLibrary/src/dynamic_fusion/runtime/gpu/cl/
H A DClKernelRuntime.cpp92 …cl::Image2D tensor_image2d = create_image2d_from_buffer(CLKernelLibrary::get().context(), t… in add_tensor_argument()
108 …cl::Image2D tensor_image2d = create_image2d_from_buffer(CLKernelLibrary::get().context(), t… in add_tensor_argument()
137 …cl::Image2D tensor_image2d = create_image2d_from_buffer(CLKernelLibrary::get().context(), tensor->… in add_tensor_argument()
/aosp_15_r20/external/ComputeLibrary/tests/validation/dynamic_fusion/gpu/
H A DIntegration.cpp71 auto cl_compile_ctx = CLKernelLibrary::get().get_compile_context(); in TEST_SUITE()
158 auto cl_compile_ctx = CLKernelLibrary::get().get_compile_context(); in TEST_CASE()
255 auto cl_compile_ctx = CLKernelLibrary::get().get_compile_context(); in TEST_CASE()
370 auto cl_compile_ctx = CLKernelLibrary::get().get_compile_context(); in TEST_CASE()
/aosp_15_r20/external/ComputeLibrary/src/gpu/cl/
H A DClContext.cpp62 _cl_ctx = CLKernelLibrary::get().context(); in ClContext()
63 _cl_dev = CLKernelLibrary::get().get_device(); in ClContext()

123456789