From ae5c0a59132ae475a6cc49f7737f579d4a75b057 Mon Sep 17 00:00:00 2001 From: Richa Gadgil Date: Thu, 9 Jan 2025 14:25:47 -0800 Subject: [PATCH] Update jit.cpp --- test/gpu/jit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/gpu/jit.cpp b/test/gpu/jit.cpp index 6f598cabdde..d9412cb24f5 100644 --- a/test/gpu/jit.cpp +++ b/test/gpu/jit.cpp @@ -449,7 +449,7 @@ TEST_CASE(assert_type_min_max) t)) continue; auto name = migraphx::shape::cpp_type(t); - if((t == migraphx::shape::half_type) or (t == migraphx::shape::bf16_type)) + if(contains({migraphx::shape::half_type, migraphx::shape::bf16_type}, t)) name.insert(0, "migraphx::"); migraphx::shape::visit(t, [&](auto as) { std::string min = "";