aboutsummaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorMoritz Pflanzer <moritz.pflanzer@arm.com>2017-09-23 11:57:33 +0100
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:35:24 +0000
commit7655a67384895868c0afa72bfda9a9b2fcfdf323 (patch)
tree30c1ebf1d4bb05dbdb287403b2539af8c8657b87 /utils
parentde691f055ac255c798a766483eef63465ac90c75 (diff)
downloadComputeLibrary-7655a67384895868c0afa72bfda9a9b2fcfdf323.tar.gz
COMPMID-507: Move Sobel to new validation
Change-Id: Ic0a9dbd8e646abbf8d9ea52e497a5fe60e499cc7 Reviewed-on: http://mpd-gerrit.cambridge.arm.com/88883 Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com> Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Diffstat (limited to 'utils')
-rw-r--r--utils/TypePrinter.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/utils/TypePrinter.h b/utils/TypePrinter.h
index 30592fff55..6e2d7e24f3 100644
--- a/utils/TypePrinter.h
+++ b/utils/TypePrinter.h
@@ -389,6 +389,13 @@ inline ::std::ostream &operator<<(::std::ostream &os, const Format &format)
return os;
}
+inline std::string to_string(const Format &format)
+{
+ std::stringstream str;
+ str << format;
+ return str.str();
+}
+
/** Formatted output of the Channel type. */
inline ::std::ostream &operator<<(::std::ostream &os, const Channel &channel)
{