aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/graph2/Types.h
diff options
context:
space:
mode:
authorGeorgios Pinitas <georgios.pinitas@arm.com>2018-03-21 17:52:35 +0000
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:49:16 +0000
commit9a8c672dd6eb21448fbfb4b636104323d128de88 (patch)
tree345615b62b3941f2c2db442758fcc12269137156 /arm_compute/graph2/Types.h
parent36a559e49a3d5b832b1cffd47f2298f452616bb9 (diff)
downloadComputeLibrary-9a8c672dd6eb21448fbfb4b636104323d128de88.tar.gz
COMPMID-1011: Create struct for the graph config parameters
Change-Id: I9c164a817c0cc5f264a5c71a59256dacc6314cb0 Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/125456 Tested-by: Jenkins <bsgcomp@arm.com> Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Diffstat (limited to 'arm_compute/graph2/Types.h')
-rw-r--r--arm_compute/graph2/Types.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/arm_compute/graph2/Types.h b/arm_compute/graph2/Types.h
index 4cbfc7267b..b619cf1673 100644
--- a/arm_compute/graph2/Types.h
+++ b/arm_compute/graph2/Types.h
@@ -71,6 +71,15 @@ constexpr EdgeID EmptyEdgeID = std::numeric_limits<EdgeID>::max();
// Forward declarations
class TensorDescriptor;
+/** Graph configuration structure */
+struct GraphConfig
+{
+ bool use_function_memory_manager{ false }; /**< Use a memory manager to manage per-funcion auxilary memory */
+ bool use_transition_memory_manager{ false }; /**< Use a memory manager to manager transition buffer memory */
+ bool use_tuner{ false }; /**< Use a tuner in tunable backends */
+ unsigned int num_threads{ 0 }; /**< Number of threads to use (thread capable backends), if 0 the backend will auto-initialize */
+};
+
/**< Data layout format */
enum class DataLayout
{