aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/graph
diff options
context:
space:
mode:
authorGeorgios Pinitas <georgios.pinitas@arm.com>2018-05-31 18:53:52 +0100
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:52:54 +0000
commitdf473eab0ab8a52e6b58e0f6442b39ba4c1d68ea (patch)
tree5c96fcc41cf079849b6f392bc266b82c43a4766b /arm_compute/graph
parent087eaf67dc4be4234a7fcfc3b109c1e4f5e7dd5e (diff)
downloadComputeLibrary-df473eab0ab8a52e6b58e0f6442b39ba4c1d68ea.tar.gz
COMPMID-1182: printf doesn't work
Change-Id: I013d57f6e2becbd6d2d7700ce5fbbeca670443c4 Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/133735 Tested-by: Jenkins <bsgcomp@arm.com> Reviewed-by: Pablo Tello <pablo.tello@arm.com>
Diffstat (limited to 'arm_compute/graph')
-rw-r--r--arm_compute/graph/backends/CL/CLDeviceBackend.h5
-rw-r--r--arm_compute/graph/backends/GLES/GCDeviceBackend.h3
-rw-r--r--arm_compute/graph/detail/ExecutionHelpers.h2
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