From cdce00b04da5476621e605ba27dac570c779fe7b Mon Sep 17 00:00:00 2001 From: "romain.biessy" Date: Thu, 19 Oct 2023 10:22:13 +0100 Subject: [PATCH] Allow to skip double tests --- tests/unit_tests/sparse_blas/source/sparse_gemv_usm.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/unit_tests/sparse_blas/source/sparse_gemv_usm.cpp b/tests/unit_tests/sparse_blas/source/sparse_gemv_usm.cpp index 873855ca9..e3080c5e7 100644 --- a/tests/unit_tests/sparse_blas/source/sparse_gemv_usm.cpp +++ b/tests/unit_tests/sparse_blas/source/sparse_gemv_usm.cpp @@ -191,6 +191,7 @@ TEST_P(SparseGemvUsmTests, RealSinglePrecision) { TEST_P(SparseGemvUsmTests, RealDoublePrecision) { using fpType = double; + CHECK_DOUBLE_ON_DEVICE(GetParam()); test_helper(GetParam(), oneapi::mkl::transpose::nontrans); test_helper(GetParam(), oneapi::mkl::transpose::trans); } @@ -204,6 +205,7 @@ TEST_P(SparseGemvUsmTests, ComplexSinglePrecision) { TEST_P(SparseGemvUsmTests, ComplexDoublePrecision) { using fpType = std::complex; + CHECK_DOUBLE_ON_DEVICE(GetParam()); test_helper(GetParam(), oneapi::mkl::transpose::nontrans); test_helper(GetParam(), oneapi::mkl::transpose::trans); test_helper(GetParam(), oneapi::mkl::transpose::conjtrans);