summaryrefslogtreecommitdiffstats
path: root/eval/src/tests/instruction/generic_map/generic_map_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'eval/src/tests/instruction/generic_map/generic_map_test.cpp')
-rw-r--r--eval/src/tests/instruction/generic_map/generic_map_test.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/eval/src/tests/instruction/generic_map/generic_map_test.cpp b/eval/src/tests/instruction/generic_map/generic_map_test.cpp
index 9f30efe135e..cf4b09914c3 100644
--- a/eval/src/tests/instruction/generic_map/generic_map_test.cpp
+++ b/eval/src/tests/instruction/generic_map/generic_map_test.cpp
@@ -43,9 +43,8 @@ TensorSpec perform_generic_map(const TensorSpec &a, map_fun_t func, const ValueB
void test_generic_map_with(const ValueBuilderFactory &factory) {
for (const auto &layout : map_layouts) {
- for (TensorSpec lhs : { layout.cpy().cells_float(),
- layout.cpy().cells_double() })
- {
+ for (CellType ct : CellTypeUtils::list_types()) {
+ TensorSpec lhs = layout.cpy().cells(ct);
for (auto func : {operation::Floor::f, operation::Fabs::f, operation::Square::f, operation::Inv::f}) {
SCOPED_TRACE(fmt("\n===\nLHS: %s\n===\n", lhs.to_string().c_str()));
auto expect = ReferenceOperations::map(lhs, func);