1- // SPDX-FileCopyrightText: 2017 - 2024 The Ginkgo authors
1+ // SPDX-FileCopyrightText: 2017 - 2025 The Ginkgo authors
22//
33// SPDX-License-Identifier: BSD-3-Clause
44
@@ -128,9 +128,10 @@ TYPED_TEST(Fbcsr, SpmvIsEquivalentToRefSorted)
128128 using Dense = typename TestFixture::Dense;
129129 using value_type = typename Mtx::value_type;
130130 if (this ->exec ->get_master () != this ->exec ) {
131- // FBCSR on accelerator does not have half precision apply through
132- // vendor libraries.
131+ // FBCSR on accelerator does not have half/bfloat16 precision apply
132+ // through vendor libraries.
133133 SKIP_IF_HALF (value_type);
134+ SKIP_IF_BFLOAT16 (value_type);
134135 }
135136 auto drand = gko::clone (this ->exec , this ->rsorted );
136137 auto x =
@@ -155,9 +156,10 @@ TYPED_TEST(Fbcsr, SpmvMultiIsEquivalentToRefSorted)
155156 using Dense = typename TestFixture::Dense;
156157 using value_type = typename Mtx::value_type;
157158 if (this ->exec ->get_master () != this ->exec ) {
158- // FBCSR on accelerator does not have half precision apply through
159- // vendor libraries.
159+ // FBCSR on accelerator does not have half/bfloat16 precision apply
160+ // through vendor libraries.
160161 SKIP_IF_HALF (value_type);
162+ SKIP_IF_BFLOAT16 (value_type);
161163 }
162164 auto drand = gko::clone (this ->exec , this ->rsorted );
163165 auto x =
@@ -183,9 +185,10 @@ TYPED_TEST(Fbcsr, AdvancedSpmvIsEquivalentToRefSorted)
183185 using value_type = typename TestFixture::value_type;
184186 using real_type = typename TestFixture::real_type;
185187 if (this ->exec ->get_master () != this ->exec ) {
186- // FBCSR on accelerator does not have half precision apply through
187- // vendor libraries.
188+ // FBCSR on accelerator does not have half/bfloat16 precision apply
189+ // through vendor libraries.
188190 SKIP_IF_HALF (value_type);
191+ SKIP_IF_BFLOAT16 (value_type);
189192 }
190193 auto drand = gko::clone (this ->exec , this ->rsorted );
191194 auto x =
@@ -218,9 +221,10 @@ TYPED_TEST(Fbcsr, AdvancedSpmvMultiIsEquivalentToRefSorted)
218221 using value_type = typename TestFixture::value_type;
219222 using real_type = typename TestFixture::real_type;
220223 if (this ->exec ->get_master () != this ->exec ) {
221- // FBCSR on accelerator does not have half precision apply through
222- // vendor libraries.
224+ // FBCSR on accelerator does not have half/bfloat16 precision apply
225+ // through vendor libraries.
223226 SKIP_IF_HALF (value_type);
227+ SKIP_IF_BFLOAT16 (value_type);
224228 }
225229 auto drand = gko::clone (this ->exec , this ->rsorted );
226230 auto x =
0 commit comments