diff --git a/sparse/src/KokkosSparse_spmv.hpp b/sparse/src/KokkosSparse_spmv.hpp index 5fa0be3619..de98701b7c 100644 --- a/sparse/src/KokkosSparse_spmv.hpp +++ b/sparse/src/KokkosSparse_spmv.hpp @@ -281,7 +281,7 @@ void spmv(const ExecutionSpace& space, Handle* handle, const char mode[], #ifdef KOKKOS_ENABLE_SYCL if constexpr (std::is_same_v) { - useNative = useNative || (mode[0] == Conjugate[0]); + useNative = useNative || (mode[0] != NoTranspose[0]); } #endif #endif