Skip to content

Commit

Permalink
Bump CUDA and ROCm in slc8-gpu-builder
Browse files Browse the repository at this point in the history
  • Loading branch information
davidrohr committed Aug 10, 2023
1 parent 1239c3f commit 2900a22
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion slc8-gpu-builder/amdgpu.repo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[amdgpu]
name=amdgpu
baseurl=http://repo.radeon.com/amdgpu/22.10.2/rhel/8.5/main/x86_64/
baseurl=http://repo.radeon.com/amdgpu/5.6/rhel/8.8/main/x86_64/
enabled=1
gpgcheck=0
4 changes: 2 additions & 2 deletions slc8-gpu-builder/packer.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"_comment": "Alma 8.7 GPU builder X-enabled CUDA12.0-enabled AMD ROCm 5.4.2-enabled",
"_comment": "Alma 8.7 GPU builder X-enabled CUDA12.2-enabled AMD ROCm 5.5.3-enabled",
"variables": {
"REPO": "registry.cern.ch/alisw/slc8-gpu-builder",
"TAG": "latest",
"CUDA_PKG_VERSION": "12-0-12.0.*",
"CUDA_PKG_VERSION": "12-2-12.2.*",
"NVIDIA_GPGKEY_SUM": "d0664fbbdb8c32356d45de36c5984617217b2d0bef41b93ccecd326ba3b80c87"
},
"builders": [
Expand Down
2 changes: 1 addition & 1 deletion slc8-gpu-builder/provision.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ yum clean all
rm -rf /var/cache/yum

# Set up NVIDIA CUDA stack
ln -s cuda-12.0 /usr/local/cuda
ln -s cuda-12.2 /usr/local/cuda
echo /usr/local/nvidia/lib >> /etc/ld.so.conf.d/nvidia.conf
echo /usr/local/nvidia/lib64 >> /etc/ld.so.conf.d/nvidia.conf
export PATH=/usr/local/nvidia/bin:/usr/local/cuda/bin:${PATH}
Expand Down
12 changes: 6 additions & 6 deletions slc8-gpu-builder/rocm.patch
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--- /opt/rocm-5.4.2/bin/hipcc.pl.old 2023-02-03 12:45:52.705141525 +0000
+++ /opt/rocm-5.4.2/bin/hipcc.pl 2023-02-03 12:50:57.589161773 +0000
--- /opt/rocm-5.5.3/bin/hipcc.pl.old 2023-02-03 12:45:52.705141525 +0000
+++ /opt/rocm-5.5.3/bin/hipcc.pl 2023-02-03 12:50:57.589161773 +0000
@@ -694,9 +694,9 @@
$HIPLDFLAGS .= " -O3";
}
Expand All @@ -12,8 +12,8 @@
}
}

--- /opt/rocm-5.4.2/lib/cmake/hip/hip-config.cmake.old 2023-02-03 12:51:27.415163754 +0000
+++ /opt/rocm-5.4.2/lib/cmake/hip/hip-config.cmake 2023-02-03 12:51:38.542164492 +0000
--- /opt/rocm-5.5.3/lib/cmake/hip/hip-config.cmake.old 2023-02-03 12:51:27.415163754 +0000
+++ /opt/rocm-5.5.3/lib/cmake/hip/hip-config.cmake 2023-02-03 12:51:38.542164492 +0000
@@ -267,7 +267,7 @@
get_property(compilePropIsSet TARGET hip::device PROPERTY INTERFACE_COMPILE_OPTIONS SET)

Expand All @@ -23,8 +23,8 @@
endif()

if (NOT compilePropIsSet)
--- /opt/rocm-5.4.2/lib/cmake/hip-lang/hip-lang-config.cmake.old 2023-02-03 12:51:50.164165264 +0000
+++ /opt/rocm-5.4.2/lib/cmake/hip-lang/hip-lang-config.cmake 2023-02-03 12:51:55.453165616 +0000
--- /opt/rocm-5.5.3/lib/cmake/hip-lang/hip-lang-config.cmake.old 2023-02-03 12:51:50.164165264 +0000
+++ /opt/rocm-5.5.3/lib/cmake/hip-lang/hip-lang-config.cmake 2023-02-03 12:51:55.453165616 +0000
@@ -144,7 +144,7 @@
)

Expand Down
2 changes: 1 addition & 1 deletion slc8-gpu-builder/rocm.repo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[ROCm]
name=ROCm
baseurl=http://repo.radeon.com/rocm/rhel8/5.4.2/main/
baseurl=http://repo.radeon.com/rocm/rhel8/5.5.3/main/
enabled=1
gpgcheck=0

0 comments on commit 2900a22

Please sign in to comment.