diff options
Diffstat (limited to 'arm_compute/graph')
-rw-r--r-- | arm_compute/graph/backends/CL/CLDeviceBackend.h | 5 | ||||
-rw-r--r-- | arm_compute/graph/backends/GLES/GCDeviceBackend.h | 3 | ||||
-rw-r--r-- | arm_compute/graph/detail/ExecutionHelpers.h | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/arm_compute/graph/backends/CL/CLDeviceBackend.h b/arm_compute/graph/backends/CL/CLDeviceBackend.h index ab39d0fb1b..0b45dfe479 100644 --- a/arm_compute/graph/backends/CL/CLDeviceBackend.h +++ b/arm_compute/graph/backends/CL/CLDeviceBackend.h @@ -63,8 +63,9 @@ public: std::shared_ptr<arm_compute::IMemoryManager> create_memory_manager(MemoryManagerAffinity affinity) override; private: - CLTuner _tuner; /**< CL kernel tuner */ - CLBufferAllocator _allocator; /**< CL buffer affinity allocator */ + bool _initialized; /**< Flag that specifies if the backend has been default initialized */ + CLTuner _tuner; /**< CL kernel tuner */ + std::unique_ptr<CLBufferAllocator> _allocator; /**< CL buffer affinity allocator */ }; } // namespace backends } // namespace graph diff --git a/arm_compute/graph/backends/GLES/GCDeviceBackend.h b/arm_compute/graph/backends/GLES/GCDeviceBackend.h index dc0e2b07dc..ba789221e3 100644 --- a/arm_compute/graph/backends/GLES/GCDeviceBackend.h +++ b/arm_compute/graph/backends/GLES/GCDeviceBackend.h @@ -53,7 +53,8 @@ public: std::shared_ptr<arm_compute::IMemoryManager> create_memory_manager(MemoryManagerAffinity affinity) override; private: - GCBufferAllocator _allocator; /**< GLES buffer affinity allocator */ + bool _initialized; /**< Flag that specifies if the backend has been default initialized */ + GCBufferAllocator _allocator; /**< GLES buffer affinity allocator */ }; } // namespace backends } // namespace graph diff --git a/arm_compute/graph/detail/ExecutionHelpers.h b/arm_compute/graph/detail/ExecutionHelpers.h index 27cae4b8ab..23dd207695 100644 --- a/arm_compute/graph/detail/ExecutionHelpers.h +++ b/arm_compute/graph/detail/ExecutionHelpers.h @@ -39,8 +39,6 @@ class INode; namespace detail { -/** Initializes the available backends **/ -void default_initialize_backends(); /** Validates all nodes * * @param[in] g Graph to validate |