Skip to content
This repository was archived by the owner on Jan 13, 2025. It is now read-only.

Commit

Permalink
Add skipping broken test for default config on amd and nvidia
Browse files Browse the repository at this point in the history
  • Loading branch information
s-Nick committed Apr 29, 2024
1 parent 7917c52 commit 044773b
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions test/unittest/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,26 @@ if(is_dpcpp)
)
endif()

if(is_dpcpp AND ${TUNING_TARGET} STREQUAL "DEFAULT_CPU")
if (${DPCPP_SYCL_TARGET} STREQUAL "nvptx64-nvidia-cuda")
set(DEFAULT_SKIP
${PORTBLAS_UNITTEST}/blas1/blas1_iamax_test.cpp
${PORTBLAS_UNITTEST}/blas1/blas1_iamin_test.cpp
${PORTBLAS_UNITTEST}/blas2/blas2_trsv_test.cpp
${PORTBLAS_UNITTEST}/blas2/blas2_tbsv_test.cpp
${PORTBLAS_UNITTEST}/blas2/blas2_tpsv_test.cpp
${PORTBLAS_UNITTEST}/blas3/blas3_trsm_test.cpp
)
elseif(${DPCPP_SYCL_TARGET} STREQUAL "amdgcn-amd-amdhsa")
set(DEFAULT_SKIP
${PORTBLAS_UNITTEST}/blas1/blas1_iamax_test.cpp
${PORTBLAS_UNITTEST}/blas1/blas1_iamin_test.cpp
${PORTBLAS_UNITTEST}/blas2/blas2_tbsv_test.cpp
${PORTBLAS_UNITTEST}/blas2/blas2_tpsv_test.cpp
)
endif()
endif()

if(GEMM_TALL_SKINNY_SUPPORT)
list(APPEND SYCL_UNITTEST_SRCS ${PORTBLAS_UNITTEST}/blas3/blas3_gemm_tall_skinny_test.cpp)
endif()
Expand All @@ -115,6 +135,9 @@ foreach(blas_test ${SYCL_UNITTEST_SRCS})
if(is_adaptivecpp AND ${blas_test} IN_LIST ADAPTIVE_CPP_SKIP)
continue()
endif()
if(${blas_test} IN_LIST DEFAULT_SKIP)
continue()
endif()
get_filename_component(test_exec ${blas_test} NAME_WE)
add_executable(${test_exec} main.cpp ${blas_test})
if(is_computecpp)
Expand Down

0 comments on commit 044773b

Please sign in to comment.