aboutsummaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorPablo Marquez Tello <pablo.tello@arm.com>2022-07-19 12:19:46 +0100
committerPablo Marquez Tello <pablo.tello@arm.com>2022-07-25 15:56:00 +0000
commitd208f4f1c2da9e407f86022959c32e8ab9a4aa6e (patch)
treef1dc538edb68fa6e266ad8890582f179b961bfae /utils
parent962531886eee29527bf027107124a27ce94047eb (diff)
downloadComputeLibrary-d208f4f1c2da9e407f86022959c32e8ab9a4aa6e.tar.gz
Enable march=armv8.6-a in non multi-isa builds
* scons arch=armv8.6-a translates to -march=armv8.6-a * scons arch=armv8.6-a-sve translates to -march=armv8.6-a+sve * scons arch=armv8.6-a-sve2 translates to -march=armv8.6-a+sve2 * Resolves COMPMID-5408 Change-Id: I0901e1de864d00109759509af7cc2b5c9ae1cd75 Signed-off-by: Pablo Marquez Tello <pablo.tello@arm.com> Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/7943 Reviewed-by: Gunes Bayir <gunes.bayir@arm.com> Comments-Addressed: Arm Jenkins <bsgcomp@arm.com> Tested-by: Arm Jenkins <bsgcomp@arm.com> Benchmark: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'utils')
-rw-r--r--utils/TypePrinter.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/utils/TypePrinter.h b/utils/TypePrinter.h
index a41b3cc9ae..23e73f6a9e 100644
--- a/utils/TypePrinter.h
+++ b/utils/TypePrinter.h
@@ -472,6 +472,16 @@ inline ::std::ostream &operator<<(::std::ostream &os, const BoundingBoxTransform
return os;
}
+#if defined(ARM_COMPUTE_ENABLE_BF16)
+inline ::std::ostream &operator<<(::std::ostream &os, const bfloat16& v)
+{
+ std::stringstream str;
+ str << v;
+ os << str.str();
+ return os;
+}
+#endif /* defined(ARM_COMPUTE_ENABLE_BF16) */
+
/** Formatted output of the BoundingBoxTransformInfo type.
*
* @param[in] bbox_info Type to output.