diff options
author | Georgios Pinitas <georgios.pinitas@arm.com> | 2017-10-12 17:34:20 +0100 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:35:24 +0000 |
commit | 7d3d1b923b7793f1cf5e29c78bfda2582522cf25 (patch) | |
tree | 7a924958ee7f4c9b7e6245170513862dcc016b87 /arm_compute/graph/Types.h | |
parent | 3756186e54d77639564e999082f4bbd1ceec5a2f (diff) | |
download | ComputeLibrary-7d3d1b923b7793f1cf5e29c78bfda2582522cf25.tar.gz |
COMPMID-619: Logging interface
Change-Id: I73d1433ee7a682aeabb7540aa2ea1f6564f90aae
Reviewed-on: http://mpd-gerrit.cambridge.arm.com/91775
Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com>
Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Diffstat (limited to 'arm_compute/graph/Types.h')
-rw-r--r-- | arm_compute/graph/Types.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arm_compute/graph/Types.h b/arm_compute/graph/Types.h index c4396412a7..f02fa7df3f 100644 --- a/arm_compute/graph/Types.h +++ b/arm_compute/graph/Types.h @@ -27,6 +27,13 @@ #include "arm_compute/core/ITensor.h" #include "arm_compute/core/SubTensorInfo.h" #include "arm_compute/core/TensorInfo.h" +#include "arm_compute/core/utils/logging/Macros.h" + +#define ARM_COMPUTE_LOG_GRAPH(log_level, x) \ + ARM_COMPUTE_LOG_STREAM("GRAPH", log_level, x) + +#define ARM_COMPUTE_LOG_GRAPH_INFO(x) \ + ARM_COMPUTE_LOG_STREAM("GRAPH", arm_compute::logging::LogLevel::INFO, x) namespace arm_compute { @@ -47,6 +54,8 @@ using arm_compute::TensorInfo; using arm_compute::TensorShape; using arm_compute::WeightsInfo; +using arm_compute::logging::LogLevel; + /**< Execution hint to the graph executor */ enum class TargetHint { |