Skip to content

Commit

Permalink
Let Kokkos detect the architecture
Browse files Browse the repository at this point in the history
  • Loading branch information
Rombur committed Jan 23, 2024
1 parent 2086410 commit 3520ef5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docker/Dockerfile.hipcc
Expand Up @@ -90,8 +90,7 @@ RUN SCRATCH_DIR=/scratch && mkdir -p ${SCRATCH_DIR} && cd ${SCRATCH_DIR} && \

# Install Kokkos
ARG KOKKOS_VERSION=4.2.00
ARG KOKKOS_ARCH=Kokkos_ARCH_VEGA906
ARG KOKKOS_OPTIONS="-DKokkos_ENABLE_HIP=ON -DKokkos_ENABLE_OPENMP=ON -D${KOKKOS_ARCH}=ON"
ARG KOKKOS_OPTIONS="-DKokkos_ENABLE_HIP=ON -DKokkos_ENABLE_OPENMP=ON"
ENV KOKKOS_DIR=/opt/kokkos
RUN KOKKOS_URL=https://github.com/kokkos/kokkos/archive/${KOKKOS_VERSION}.tar.gz && \
KOKKOS_ARCHIVE=kokkos-${KOKKOS_HASH}.tar.gz && \
Expand Down

0 comments on commit 3520ef5

Please sign in to comment.