From 6658e90de32d7abfe3d3806b1fe74765a0443e09 Mon Sep 17 00:00:00 2001 From: Tariq Ibrahim Date: Wed, 2 Sep 2026 10:48:08 -0700 Subject: [PATCH] revert the CUDA samples version bump to v13.2 Signed-off-by: Tariq Ibrahim (cherry picked from commit bf1ce0407125c09b95a49371c60ab820967ba423) --- docker/Dockerfile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 6baf8ab03..f3c982a8a 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -12,7 +12,10 @@ # See the License for the specific language governing permissions and # limitations under the License. -ARG CUDA_SAMPLES_VERSION=13.2 +# R580 is the minimum driver branch supported by gpu-operator and +# its backcompat stretches all the way back to the Maxwell architecure. +# CUDA SAMPLES v12.9 is used as that is the latest version with Maxwell support. +ARG CUDA_SAMPLES_VERSION=12.9 FROM golang:1.26.6@sha256:0d1d3a794be25f809dd2cb3160d8c73276c4056a9f8242a138e908ddeee7b6b6 AS builder @@ -64,7 +67,7 @@ WORKDIR /build ARG SAMPLE_NAME=vectorAdd RUN curl -L https://codeload.github.com/NVIDIA/cuda-samples/tar.gz/refs/tags/v${CUDA_SAMPLES_VERSION} | \ - tar -xzvf - --strip-components=1 --wildcards */${SAMPLE_NAME}/* --wildcards */Common/* --wildcards */cmake/* && \ + tar -xzvf - --strip-components=1 --wildcards */${SAMPLE_NAME}/* --wildcards */Common/* && \ cd $(find /build/Samples -iname "${SAMPLE_NAME}") && \ cmake . && \ make && \