-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Require Kokkos 4.2 #1054
Require Kokkos 4.2 #1054
Conversation
67b5dfb
to
1ae1ad5
Compare
1ae1ad5
to
f9a2b9f
Compare
Rebased on #936 to resolve conflicts. |
ARG KOKKOS_VERSION=4.1.00 | ||
ARG KOKKOS_OPTIONS="-DKokkos_ENABLE_SYCL=ON -DCMAKE_CXX_FLAGS=-Wno-unknown-cuda-version -DKokkos_ENABLE_UNSUPPORTED_ARCHS=ON -DKokkos_ENABLE_DEPRECATED_CODE_3=OFF -DKokkos_ARCH_VOLTA70=ON -DCMAKE_CXX_STANDARD=17 -DCMAKE_CXX_FLAGS=-w" | ||
ARG KOKKOS_VERSION=4.3.00 | ||
ARG KOKKOS_OPTIONS="-DKokkos_ENABLE_SYCL=ON -DCMAKE_CXX_FLAGS=-Wno-unknown-cuda-version -DKokkos_ENABLE_UNSUPPORTED_ARCHS=ON -DKokkos_ENABLE_DEPRECATED_CODE_3=OFF -DKokkos_ARCH_VOLTA70=ON -DKOKKOS_IMPL_SYCL_DEVICE_GLOBAL_SUPPORTED=0 -DCMAKE_CXX_STANDARD=17 -DCMAKE_CXX_FLAGS=-w" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@masterleinad What's the deal with that extra option? Does Kokkos internal logic to set that variable fail?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's working fine for me on polaris
and A100
, i.e., newer versions of the compiler. We also explicitly disabled global device variable support in Kokkos
since we had some problems, see https://github.com/kokkos/kokkos/blob/d88e2a5b0e7948c5315a605f5bc1ead00fc39fc6/.jenkins#L116.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, this worked fine for Andrey for most test cases. We didn't quite understand why it was hanging in the Kokkos
initialization for one if them. Again, this worked fine on polaris
.
Kokkos::printf
unconditionally<Kokkos_Assert.hpp>
header forKOKKOS_ASSERT