diff options
author | John Richardson <john.richardson@arm.com> | 2017-09-07 11:21:10 +0100 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:35:24 +0000 |
commit | 6f4d49f95c3598e41a7532faa637f42d8be5f4dd (patch) | |
tree | 78bdf01c935b4f195d65a09cd734b63aba3bfe7a /tests/TypePrinter.h | |
parent | e997859ed978a42191e429f9357c95c38d84baaa (diff) | |
download | ComputeLibrary-6f4d49f95c3598e41a7532faa637f42d8be5f4dd.tar.gz |
COMPMID-504: Move NonLinearFilter to new validation
Change-Id: Ie2e9c34dd541cf570b9aef29d94ac79e2360e0e9
Reviewed-on: http://mpd-gerrit.cambridge.arm.com/87580
Reviewed-by: Moritz Pflanzer <moritz.pflanzer@arm.com>
Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com>
Diffstat (limited to 'tests/TypePrinter.h')
-rw-r--r-- | tests/TypePrinter.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/TypePrinter.h b/tests/TypePrinter.h index f276f45db0..2f9909ca2e 100644 --- a/tests/TypePrinter.h +++ b/tests/TypePrinter.h @@ -149,6 +149,13 @@ inline ::std::ostream &operator<<(::std::ostream &os, const NonLinearFilterFunct return os; } +inline std::string to_string(const NonLinearFilterFunction &function) +{ + std::stringstream str; + str << function; + return str.str(); +} + /** Formatted output of the MatrixPattern type. */ inline ::std::ostream &operator<<(::std::ostream &os, const MatrixPattern &pattern) { @@ -173,6 +180,13 @@ inline ::std::ostream &operator<<(::std::ostream &os, const MatrixPattern &patte return os; } +inline std::string to_string(const MatrixPattern &pattern) +{ + std::stringstream str; + str << pattern; + return str.str(); +} + /** Formatted output of the InterpolationPolicy type. */ inline ::std::ostream &operator<<(::std::ostream &os, const InterpolationPolicy &policy) { |