aboutsummaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorAnthony Barbier <anthony.barbier@arm.com>2018-05-18 16:55:39 +0100
committerPablo Marquez <pablo.tello@arm.com>2020-03-05 16:47:10 +0000
commitb46702118eddcfec11487be8dd23234066642d62 (patch)
treeb80d1346c86f17a08e18879ad47c0e9999af27ac /utils
parente8291acc1d9e89c9274d31f0d5bb4779eb95588c (diff)
downloadComputeLibrary-b46702118eddcfec11487be8dd23234066642d62.tar.gz
COMPMID-1181: Support for tracing configuration
This patch adds support for tracing function and kernel configuration arguments. The trace is printed to stdout. To enable tracing run the script: scripts/enable_tracing.py and recompile the library with tracing=1. Change-Id: If6626785e263d9023899b20e175a53652d70a605 Signed-off-by: morgolock <pablo.tello@arm.com> Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/2712 Tested-by: Arm Jenkins <bsgcomp@arm.com> Reviewed-by: Sang-Hoon Park <sang-hoon.park@arm.com> Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com> Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'utils')
-rw-r--r--utils/TypePrinter.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/utils/TypePrinter.h b/utils/TypePrinter.h
index 79ec367a52..b62bd69a8d 100644
--- a/utils/TypePrinter.h
+++ b/utils/TypePrinter.h
@@ -59,6 +59,7 @@ std::string to_string_if_not_null(T *arg)
return to_string(*arg);
}
}
+
/** Formatted output of the Dimensions type.
*
* @param[out] os Output stream.
@@ -1091,7 +1092,12 @@ inline ::std::ostream &operator<<(::std::ostream &os, const GEMMInfo &info)
os << "{is_a_reshaped=" << info.is_a_reshaped() << ",";
os << "is_b_reshaped=" << info.is_b_reshaped() << ",";
os << "reshape_b_only_on_first_run=" << info.reshape_b_only_on_first_run() << ",";
- os << "}";
+ os << "depth_output_gemm3d=" << info.depth_output_gemm3d() << ",";
+ os << "reinterpret_input_as_3d=" << info.reinterpret_input_as_3d() << ",";
+ os << "retain_internal_weights=" << info.retain_internal_weights() << ",";
+ os << "fp_mixed_precision=" << info.fp_mixed_precision() << ",";
+ os << "broadcast_bias=" << info.broadcast_bias() << ",";
+ os << "pretranpose_B=" << info.pretranpose_B() << ",";
return os;
}