Skip to content

Tutorials/CUDA C++: Rebase on to CUDA 13.1 container#143

Open
brycelelbach wants to merge 1 commit intomainfrom
cuda-cpp-13.1-rebase
Open

Tutorials/CUDA C++: Rebase on to CUDA 13.1 container#143
brycelelbach wants to merge 1 commit intomainfrom
cuda-cpp-13.1-rebase

Conversation

@brycelelbach
Copy link
Collaborator

Rebase the CUDA C++ tutorial from rapidsai-devcontainers-25.10-cpp-cuda12.9 to the nvidia-cuda-13.1.0-devel-ubuntu22.04 base image (CUDA 13.1), and modernize the setup to match the accelerated-python tutorial.

Changes

tutorials/cuda-cpp/brev/dockerfile

  • Base image: rapidsai-devcontainers-25.10-cpp-cuda12.9nvidia-cuda-13.1.0-devel-ubuntu22.04
  • Install Python 3.12 from deadsnakes PPA (base image no longer bundles Python)
  • Structured ENV block with PIP_DISABLE_PIP_VERSION_CHECK, VIRTUAL_ENV_DISABLE_PROMPT, updated PATH
  • System packages installed with DEBIAN_FRONTEND=noninteractive and comprehensive package list
  • Passwordless sudo setup matching accelerated-python
  • Docker installation cleaned up
  • Use Nsight tools from the CUDA toolkit (/usr/local/cuda/bin/nsys, /usr/local/cuda/bin/ncu)
  • Jupyter announcements disabled
  • Clean layer ordering: system packages → sudo → Python → Docker → pip → Jupyter config → COPY

tutorials/cuda-cpp/brev/docker-compose.yml

  • No functional changes (kept existing configuration)

tutorials/cuda-cpp/brev/requirements.txt

  • Added explicit jupyterlab dependency

tutorials/cuda-cpp/brev/test.bash

  • Added elapsed time reporting

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant