ONE - On-device Neural Engine
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
onert::backend::acl_cl Namespace Reference

Namespaces

namespace  operand
 

Data Structures

class  Backend
 
class  CLTimer
 Class to measure CL kernels execution time. More...
 
class  Config
 
class  ConstantInitializer
 
class  KernelGenerator
 
class  Optimizer
 

Typedefs

using BackendContext = acl_common::AclBackendContext< TensorBuilder, ConstantInitializer, KernelGenerator, Optimizer >
 
using ActivationBuilder = ::onert::backend::acl_common::AclActivationBuilder< ::arm_compute::ICLTensor, ::arm_compute::CLActivationLayer, acl_common::AclFunction >
 
using TensorBuilder = acl_common::AclTensorBuilder< operand::ICLTensor, operand::CLTensor, operand::CLSubTensor >
 
using MemoryManager = acl_common::AclMemoryManager< operand::ICLTensor, operand::CLTensor, operand::CLSubTensor >
 
using LinearMemoryManager = acl_common::AclLinearMemoryManager< operand::ICLTensor, operand::CLTensor, operand::CLSubTensor, ::arm_compute::MemoryManagerOnDemand, ::arm_compute::PoolManager, ::arm_compute::BlobLifetimeManager, ::arm_compute::CLBufferAllocator, ::arm_compute::MemoryGroup >
 
using InternalBufferManager = acl_common::AclInternalBufferManager< ::arm_compute::MemoryManagerOnDemand, ::arm_compute::PoolManager, ::arm_compute::BlobLifetimeManager, ::arm_compute::CLBufferAllocator >
 
using TensorManager = acl_common::AclTensorManager< operand::ICLTensor, operand::CLTensor, operand::CLSubTensor >
 

Functions

TensorManagercreateTensorManager (bool is_linear_executor)
 

Typedef Documentation

◆ ActivationBuilder

using onert::backend::acl_cl::ActivationBuilder = typedef ::onert::backend::acl_common::AclActivationBuilder< ::arm_compute::ICLTensor, ::arm_compute::CLActivationLayer, acl_common::AclFunction>

Definition at line 39 of file KernelGenerator.cc.

◆ BackendContext

◆ InternalBufferManager

using onert::backend::acl_cl::InternalBufferManager = typedef acl_common::AclInternalBufferManager< ::arm_compute::MemoryManagerOnDemand, ::arm_compute::PoolManager, ::arm_compute::BlobLifetimeManager, ::arm_compute::CLBufferAllocator>

Definition at line 48 of file TensorManager.h.

◆ LinearMemoryManager

using onert::backend::acl_cl::LinearMemoryManager = typedef acl_common::AclLinearMemoryManager<operand::ICLTensor, operand::CLTensor, operand::CLSubTensor, ::arm_compute::MemoryManagerOnDemand, ::arm_compute::PoolManager, ::arm_compute::BlobLifetimeManager, ::arm_compute::CLBufferAllocator, ::arm_compute::MemoryGroup>

Definition at line 42 of file TensorManager.h.

◆ MemoryManager

◆ TensorBuilder

◆ TensorManager

Function Documentation

◆ createTensorManager()

TensorManager * onert::backend::acl_cl::createTensorManager ( bool  is_linear_executor)
inline

Definition at line 55 of file TensorManager.h.

56{
57 if (is_linear_executor)
58 {
59 VERBOSE(acl_cl_createTensorManager) << "AclTensorManager as Linear" << std::endl;
60 return new TensorManager(new MemoryManager(), new LinearMemoryManager(),
62 }
63 else
64 {
65 VERBOSE(acl_cl_createTensorManager) << "AclTensorManager" << std::endl;
66 return new TensorManager(new MemoryManager(), new MemoryManager(), new InternalBufferManager());
67 }
68}
class for InternalBufferManager which has arm_compute::IMemoryManager pointer
#define VERBOSE(name, lv)
Definition Log.h:71

References VERBOSE.

Referenced by onert::backend::acl_cl::Backend::newContext().