ONE - On-device Neural Engine
Loading...
Searching...
No Matches
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 43 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 52 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 46 of file TensorManager.h.

◆ MemoryManager

◆ TensorBuilder

◆ TensorManager

Function Documentation

◆ createTensorManager()

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

Definition at line 59 of file TensorManager.h.

60{
61 if (is_linear_executor)
62 {
63 VERBOSE(acl_cl_createTensorManager) << "AclTensorManager as Linear" << std::endl;
64 return new TensorManager(new MemoryManager(), new LinearMemoryManager(),
66 }
67 else
68 {
69 VERBOSE(acl_cl_createTensorManager) << "AclTensorManager" << std::endl;
70 return new TensorManager(new MemoryManager(), new MemoryManager(), new InternalBufferManager());
71 }
72}
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().