In cuda-ubuntu.dockerfile L23 the clone is set on the NVIDIA cuda-samples project's default branch master, where things have changed.
It's focused on the latest CUDA – as of now v13.3.
So this line pulls the wrong assets from that repository or rather is not able to get all the stuff from the repository because in it's current 13.3 structure the utilities have moved.
From (12.9)
Samples/1_Utilities/deviceQuery
to (13.3)
cpp/1_Utilities/deviceQuery
To fix it, could change the clone to further specify the target (using the tag):
git clone --depth 1 --filter=blob:none --branch v12.9 --sparse https://github.com/NVIDIA/cuda-samples.git code/cuda-samples
Or maybe the dockerfile could target the latest CUDA version.
In
cuda-ubuntu.dockerfileL23 the clone is set on the NVIDIA cuda-samples project's default branchmaster, where things have changed.It's focused on the latest CUDA – as of now v13.3.
So this line pulls the wrong assets from that repository or rather is not able to get all the stuff from the repository because in it's current 13.3 structure the utilities have moved.
From (12.9)
to (13.3)
To fix it, could change the clone to further specify the target (using the tag):
Or maybe the dockerfile could target the latest CUDA version.