Skip to content

Commit 6c95c0a

Browse files
committed
BLAS - GEMV: reverting wrong change from previous PR, my bad.
1 parent b8ae865 commit 6c95c0a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

blas/src/KokkosBlas2_gemv.hpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -165,9 +165,8 @@ void gemv(const ExecutionSpace& space, const char trans[],
165165
// oneMKL supports both row-major and column-major of A
166166
// but only supports oneapi::mkl::transpose::nontrans op
167167
useFallback =
168-
useFallback || ((tolower(*trans) == 't' || tolower(*trans) == 'c') &&
169-
std::is_same_v<typename AViewType::memory_space,
170-
Kokkos::Experimental::SYCLDeviceUSMSpace>);
168+
useFallback || !std::is_same_v<typename AViewType::memory_space,
169+
Kokkos::Experimental::SYCLDeviceUSMSpace>;
171170
#endif
172171
#endif
173172

0 commit comments

Comments
 (0)