Skip to content

Commit

Permalink
Revert CUDA to 11.2
Browse files Browse the repository at this point in the history
  • Loading branch information
ye-luo committed Nov 17, 2023
1 parent 2fa152d commit 3af77b6
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ case "$1" in

LLVM_DIR=$HOME/opt/spack/linux-rhel9-cascadelake/gcc-9.4.0/llvm-16.0.2-ltjkfjdu6p2cfcyw3zalz4x5sz5do3cr

echo "Set PATHs to cuda-12.1"
export PATH=/usr/local/cuda-12.1/bin:$PATH
echo "Set PATHs to cuda-11.2"
export PATH=$HOME/opt/cuda/11.2/bin:$PATH
export OMPI_CC=$LLVM_DIR/bin/clang
export OMPI_CXX=$LLVM_DIR/bin/clang++

Expand All @@ -71,7 +71,7 @@ case "$1" in
echo "OMPI_CC=$OMPI_CC" >> $GITHUB_ENV
echo "OMPI_CXX=$OMPI_CXX" >> $GITHUB_ENV

# Confirm that cuda 12.1 gets picked up by the compiler
# Confirm that cuda 11.2 gets picked up by the compiler
$OMPI_CXX -v

cmake -GNinja \
Expand Down

0 comments on commit 3af77b6

Please sign in to comment.