aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/core/utils
diff options
context:
space:
mode:
authorRamy Elgammal <ramelg01@e127066.cambridge.arm.com>2021-08-19 22:10:30 +0100
committerramy.elgammal <ramy.elgammal@arm.com>2021-09-01 14:16:20 +0000
commite920d6a62b8d96e08950e81bba769e8674d4921b (patch)
treeda8308b76a424f18c9b6a66ac39e446b21f64a0d /arm_compute/core/utils
parentb1db6e16b7041af2212884ed8c6b3300a2a6a976 (diff)
downloadComputeLibrary-e920d6a62b8d96e08950e81bba769e8674d4921b.tar.gz
Printing operators parameters, currently for CpuAdd operator only.
Resolves: COMPMID-4718 Change-Id: Id4dd762cd1b759bb814b9d0b1ea0c9ba4dfbae6f Signed-off-by: Ramy Elgammal <ramy.elgammal@arm.com> Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/6139 Reviewed-by: Giorgio Arena <giorgio.arena@arm.com> Tested-by: Arm Jenkins <bsgcomp@arm.com> Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'arm_compute/core/utils')
-rw-r--r--arm_compute/core/utils/logging/Macros.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arm_compute/core/utils/logging/Macros.h b/arm_compute/core/utils/logging/Macros.h
index 4900bf9e6b..0ab17c4464 100644
--- a/arm_compute/core/utils/logging/Macros.h
+++ b/arm_compute/core/utils/logging/Macros.h
@@ -74,7 +74,7 @@ inline std::string signature_name(const std::string &pretty_func)
{ \
size_t size = ::snprintf(nullptr, 0, fmt, __VA_ARGS__) + 1; \
auto char_str = std::make_unique<char[]>(size); \
- ::snprintf(char_str.get(), size, #fmt, __VA_ARGS__); \
+ ::snprintf(char_str.get(), size, fmt, __VA_ARGS__); \
__logger->log(log_level, std::string(char_str.get(), char_str.get() + size - 1)); \
} \
} while(false)