Skip to content

Commit

Permalink
Enable OpenMP in CUDA-11.0-NVCC-RDC to test DEPRECATED_CODE_3=ON (kok…
Browse files Browse the repository at this point in the history
…kos#5978)

* Enable OpenMP in CUDA-11.0-NVCC-RDC to test DEPRECATED_CODE_3=ON

* Drop build_cmake_installed_different_compiler

* KOKKOS_EANBLE_DEPRECATED_CODE_3: impl_thread_pool_size is not static

* Use gcc-8.4.0 jenkins CI instead
  • Loading branch information
masterleinad committed May 3, 2023
1 parent 4b6d971 commit 7a166d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .jenkins
Original file line number Diff line number Diff line change
Expand Up @@ -489,6 +489,7 @@ pipeline {
-DCMAKE_CXX_FLAGS=-Werror \
-DKokkos_ARCH_NATIVE=ON \
-DKokkos_ENABLE_COMPILER_WARNINGS=ON \
-DKokkos_ENABLE_DEPRECATED_CODE_3=ON \
-DKokkos_ENABLE_DEPRECATED_CODE_4=ON \
-DKokkos_ENABLE_DEPRECATION_WARNINGS=OFF \
-DKokkos_ENABLE_TESTS=ON \
Expand Down
2 changes: 1 addition & 1 deletion core/unit_test/TestDefaultDeviceTypeInit.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ void check_correct_initialization(const Kokkos::InitArguments& argstruct) {
#endif
}

ASSERT_EQ(Kokkos::HostSpace::execution_space::impl_thread_pool_size(),
ASSERT_EQ(Kokkos::HostSpace::execution_space().impl_thread_pool_size(),
expected_nthreads);

#ifdef KOKKOS_ENABLE_CUDA
Expand Down

0 comments on commit 7a166d2

Please sign in to comment.