diff options
Diffstat (limited to 'arm_compute/graph/backends/CL/CLDeviceBackend.h')
-rw-r--r-- | arm_compute/graph/backends/CL/CLDeviceBackend.h | 5 |
1 files changed, 3 insertions, 2 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 |