From e920d6a62b8d96e08950e81bba769e8674d4921b Mon Sep 17 00:00:00 2001 From: Ramy Elgammal Date: Thu, 19 Aug 2021 22:10:30 +0100 Subject: Printing operators parameters, currently for CpuAdd operator only. Resolves: COMPMID-4718 Change-Id: Id4dd762cd1b759bb814b9d0b1ea0c9ba4dfbae6f Signed-off-by: Ramy Elgammal Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/6139 Reviewed-by: Giorgio Arena Tested-by: Arm Jenkins Comments-Addressed: Arm Jenkins --- arm_compute/core/utils/logging/Macros.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'arm_compute/core/utils') 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(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) -- cgit v1.2.1