kokkos / kokkos-kernels

Kokkos C++ Performance Portability Programming Ecosystem: Math Kernels - Provides BLAS, Sparse BLAS and Graph Kernels
Other
304 stars 96 forks source link

Broken SYCL nightly build #1954

Closed dalg24 closed 1 year ago

dalg24 commented 1 year ago

This broke the SYCL nightly build and will also break OpenMPTarget/OpenACC. You can't assume that the Cuda backend is enabled because some NVIDIA GPU architecture is enabled.

_Originally posted by @dalg24 in https://github.com/kokkos/kokkos-kernels/pull/1932#discussion_r1307482545_

dalg24 commented 1 year ago

https://github.com/kokkos/kokkos-kernels/blob/6c06bd024bbcb48b1ca6bef165bd13e73a3c3b44/sparse/impl/KokkosSparse_spmv_bsrmatrix_spec.hpp#L232-L233 guarded by https://github.com/kokkos/kokkos-kernels/blob/6c06bd024bbcb48b1ca6bef165bd13e73a3c3b44/sparse/impl/KokkosSparse_spmv_bsrmatrix_spec.hpp#L219