diff --git a/include/ginkgo/core/base/math.hpp b/include/ginkgo/core/base/math.hpp index 3a6152c55d4..70e4db5bb2d 100644 --- a/include/ginkgo/core/base/math.hpp +++ b/include/ginkgo/core/base/math.hpp @@ -47,13 +47,6 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #include -// Using SYCL_LANGUAGE_VERSION will lead the mismatch sycl namespace from 6.0.0 -// when using dpcpp compiler without dpcpp module -#if GINKGO_DPCPP_MAJOR_VERSION -#include -#endif - - namespace gko { diff --git a/test/matrix/fft_kernels.cpp b/test/matrix/fft_kernels.cpp index 59d2d2de68e..fd9dda821c0 100644 --- a/test/matrix/fft_kernels.cpp +++ b/test/matrix/fft_kernels.cpp @@ -138,6 +138,9 @@ TYPED_TEST(Fft, Apply1DIsEqualToReference) TYPED_TEST(Fft, ApplyStrided1DIsEqualToReference) { +#if defined(GKO_COMPILING_HIP) && GINKGO_HIP_PLATFORM_HCC + GTEST_SKIP() << "rocFFT has a bug related to strided 1D FFT"; +#endif using T = typename TestFixture::value_type; this->fft->apply(this->data_strided, this->out_strided); @@ -160,6 +163,9 @@ TYPED_TEST(Fft, Apply1DInverseIsEqualToReference) TYPED_TEST(Fft, ApplyStrided1DInverseIsEqualToReference) { +#if defined(GKO_COMPILING_HIP) && GINKGO_HIP_PLATFORM_HCC + GTEST_SKIP() << "rocFFT has a bug related to strided 1D FFT"; +#endif using T = typename TestFixture::value_type; this->ifft->apply(this->data_strided, this->out_strided); diff --git a/test/mpi/distributed/CMakeLists.txt b/test/mpi/distributed/CMakeLists.txt index a92e0ef4f70..b2368777589 100644 --- a/test/mpi/distributed/CMakeLists.txt +++ b/test/mpi/distributed/CMakeLists.txt @@ -1,4 +1,4 @@ -ginkgo_create_common_and_reference_test(matrix MPI_SIZE 3) -ginkgo_create_common_and_reference_test(vector MPI_SIZE 3) +ginkgo_create_common_and_reference_test(matrix MPI_SIZE 3 DISABLE_EXECUTORS dpcpp) +ginkgo_create_common_and_reference_test(vector MPI_SIZE 3 DISABLE_EXECUTORS dpcpp) add_subdirectory(preconditioner) diff --git a/test/mpi/distributed/preconditioner/CMakeLists.txt b/test/mpi/distributed/preconditioner/CMakeLists.txt index 681bbec3bc9..4f734d21df8 100644 --- a/test/mpi/distributed/preconditioner/CMakeLists.txt +++ b/test/mpi/distributed/preconditioner/CMakeLists.txt @@ -1 +1 @@ -ginkgo_create_common_and_reference_test(schwarz MPI_SIZE 3) +ginkgo_create_common_and_reference_test(schwarz MPI_SIZE 3 DISABLE_EXECUTORS dpcpp) diff --git a/test/mpi/solver/CMakeLists.txt b/test/mpi/solver/CMakeLists.txt index 43a2d870d3f..bffd7b5ab10 100644 --- a/test/mpi/solver/CMakeLists.txt +++ b/test/mpi/solver/CMakeLists.txt @@ -1 +1 @@ -ginkgo_create_common_and_reference_test(solver MPI_SIZE 3) +ginkgo_create_common_and_reference_test(solver MPI_SIZE 3 DISABLE_EXECUTORS dpcpp) diff --git a/test/solver/idr_kernels.cpp b/test/solver/idr_kernels.cpp index f7191483615..959c857cb71 100644 --- a/test/solver/idr_kernels.cpp +++ b/test/solver/idr_kernels.cpp @@ -40,6 +40,11 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #include +#ifdef GKO_COMPILING_DPCPP +#include +#endif + + #include #include #include