diff --git a/.devcontainer/README.md b/.devcontainer/README.md index 8ca85d82bfa..349330dbe0e 100644 --- a/.devcontainer/README.md +++ b/.devcontainer/README.md @@ -117,17 +117,15 @@ For more information, see the `.devcontainer/make_devcontainers.sh --help` messa **Note**: When adding or updating supported environments, modify `matrix.yaml` and then rerun this script to synchronize the `devcontainer` configurations. -## Installing Devcontainers on WSL +## Dev Containers on WSL -[!NOTE] - -_Make sure you have the Nvidia driver installed in your Windows host before moving further_. Type in `nvidia-smi` for verification. +> [!NOTE] +> _Make sure you have the Nvidia driver installed on your Windows host before moving further_. Type in `nvidia-smi` for verification. ### Install WSL on your Windows host -[!WARNING] - -Dsiclaimer: This guide was developed for WSL 2 on Windows 11. +> [!WARNING] +> Dsiclaimer: This guide was developed for WSL 2 on Windows 11. 1. Launch a Windows terminal (_e.g. Powershell_) as an administrator. @@ -169,7 +167,7 @@ This should probably install Ubuntu distro as a default. } ``` -and run `sudo systemctl restart docker.service`. +then run `sudo systemctl restart docker.service`. --- ### Build CCCL in WSL using Dev Containers @@ -185,7 +183,7 @@ and run `sudo systemctl restart docker.service`. 12. Verify that Dev Container was configured properly by running `./nvidia-smi` in your Dev Container terminal. For a proper configuration set up it is important for the steps in [Install prerequisites and VS Code extensions](#prereqs) to be followed in a precise order. -From that point on, the guide aligns with our [existing Dev Containers native Linux guide](https://github.com/NVIDIA/cccl/blob/main/.devcontainer/README.md) with just one minor potential alteration. +From that point on, the guide aligns with our [existing Dev Containers native Linux guide](https://github.com/NVIDIA/cccl/blob/main/.devcontainer/README.md) with just one minor potential alteration: 13. If WSL was launched without the X-server enabled, when asked to "authenticate Git with your Github credentials", if you answer **Yes**, the browser might not open automatically, with the following error message. diff --git a/.devcontainer/cuda11.1-gcc6/devcontainer.json b/.devcontainer/cuda11.1-gcc6/devcontainer.json index f2a9770f25a..d60fac101db 100644 --- a/.devcontainer/cuda11.1-gcc6/devcontainer.json +++ b/.devcontainer/cuda11.1-gcc6/devcontainer.json @@ -2,7 +2,7 @@ "shutdownAction": "stopContainer", "image": "rapidsai/devcontainers:24.04-cpp-gcc6-cuda11.1-ubuntu18.04", "hostRequirements": { - "gpu": true + "gpu": "optional" }, "initializeCommand": [ "/bin/bash", diff --git a/.devcontainer/cuda11.1-gcc7/devcontainer.json b/.devcontainer/cuda11.1-gcc7/devcontainer.json index 17088ccdcfa..037968502db 100644 --- a/.devcontainer/cuda11.1-gcc7/devcontainer.json +++ b/.devcontainer/cuda11.1-gcc7/devcontainer.json @@ -2,7 +2,7 @@ "shutdownAction": "stopContainer", "image": "rapidsai/devcontainers:24.04-cpp-gcc7-cuda11.1-ubuntu18.04", "hostRequirements": { - "gpu": true + "gpu": "optional" }, "initializeCommand": [ "/bin/bash", diff --git a/.devcontainer/cuda11.1-gcc8/devcontainer.json b/.devcontainer/cuda11.1-gcc8/devcontainer.json index c161b7f0ba5..66048367eec 100644 --- a/.devcontainer/cuda11.1-gcc8/devcontainer.json +++ b/.devcontainer/cuda11.1-gcc8/devcontainer.json @@ -2,7 +2,7 @@ "shutdownAction": "stopContainer", "image": "rapidsai/devcontainers:24.04-cpp-gcc8-cuda11.1-ubuntu18.04", "hostRequirements": { - "gpu": true + "gpu": "optional" }, "initializeCommand": [ "/bin/bash", diff --git a/.devcontainer/cuda11.1-gcc9/devcontainer.json b/.devcontainer/cuda11.1-gcc9/devcontainer.json index ebc410bddc8..633bedc20cf 100644 --- a/.devcontainer/cuda11.1-gcc9/devcontainer.json +++ b/.devcontainer/cuda11.1-gcc9/devcontainer.json @@ -2,7 +2,7 @@ "shutdownAction": "stopContainer", "image": "rapidsai/devcontainers:24.04-cpp-gcc9-cuda11.1-ubuntu18.04", "hostRequirements": { - "gpu": true + "gpu": "optional" }, "initializeCommand": [ "/bin/bash", diff --git a/.devcontainer/cuda11.1-llvm9/devcontainer.json b/.devcontainer/cuda11.1-llvm9/devcontainer.json index b51ebaea641..1edce1727d6 100644 --- a/.devcontainer/cuda11.1-llvm9/devcontainer.json +++ b/.devcontainer/cuda11.1-llvm9/devcontainer.json @@ -2,7 +2,7 @@ "shutdownAction": "stopContainer", "image": "rapidsai/devcontainers:24.04-cpp-llvm9-cuda11.1-ubuntu18.04", "hostRequirements": { - "gpu": true + "gpu": "optional" }, "initializeCommand": [ "/bin/bash", diff --git a/.devcontainer/cuda12.3-gcc10/devcontainer.json b/.devcontainer/cuda12.3-gcc10/devcontainer.json index c34ce97387d..83b52860d08 100644 --- a/.devcontainer/cuda12.3-gcc10/devcontainer.json +++ b/.devcontainer/cuda12.3-gcc10/devcontainer.json @@ -2,7 +2,7 @@ "shutdownAction": "stopContainer", "image": "rapidsai/devcontainers:24.04-cpp-gcc10-cuda12.3-ubuntu20.04", "hostRequirements": { - "gpu": true + "gpu": "optional" }, "initializeCommand": [ "/bin/bash", diff --git a/.devcontainer/cuda12.3-gcc11/devcontainer.json b/.devcontainer/cuda12.3-gcc11/devcontainer.json index 5a6d349b041..bb1b5f76274 100644 --- a/.devcontainer/cuda12.3-gcc11/devcontainer.json +++ b/.devcontainer/cuda12.3-gcc11/devcontainer.json @@ -2,7 +2,7 @@ "shutdownAction": "stopContainer", "image": "rapidsai/devcontainers:24.04-cpp-gcc11-cuda12.3-ubuntu22.04", "hostRequirements": { - "gpu": true + "gpu": "optional" }, "initializeCommand": [ "/bin/bash", diff --git a/.devcontainer/cuda12.3-gcc12/devcontainer.json b/.devcontainer/cuda12.3-gcc12/devcontainer.json index 61dc064faca..5525d416fca 100644 --- a/.devcontainer/cuda12.3-gcc12/devcontainer.json +++ b/.devcontainer/cuda12.3-gcc12/devcontainer.json @@ -2,7 +2,7 @@ "shutdownAction": "stopContainer", "image": "rapidsai/devcontainers:24.04-cpp-gcc12-cuda12.3-ubuntu22.04", "hostRequirements": { - "gpu": true + "gpu": "optional" }, "initializeCommand": [ "/bin/bash", diff --git a/.devcontainer/cuda12.3-gcc7/devcontainer.json b/.devcontainer/cuda12.3-gcc7/devcontainer.json index cdb91153ac1..651d0f901aa 100644 --- a/.devcontainer/cuda12.3-gcc7/devcontainer.json +++ b/.devcontainer/cuda12.3-gcc7/devcontainer.json @@ -2,7 +2,7 @@ "shutdownAction": "stopContainer", "image": "rapidsai/devcontainers:24.04-cpp-gcc7-cuda12.3-ubuntu20.04", "hostRequirements": { - "gpu": true + "gpu": "optional" }, "initializeCommand": [ "/bin/bash", diff --git a/.devcontainer/cuda12.3-gcc8/devcontainer.json b/.devcontainer/cuda12.3-gcc8/devcontainer.json index 15028c07c4a..6e4b678c64b 100644 --- a/.devcontainer/cuda12.3-gcc8/devcontainer.json +++ b/.devcontainer/cuda12.3-gcc8/devcontainer.json @@ -2,7 +2,7 @@ "shutdownAction": "stopContainer", "image": "rapidsai/devcontainers:24.04-cpp-gcc8-cuda12.3-ubuntu20.04", "hostRequirements": { - "gpu": true + "gpu": "optional" }, "initializeCommand": [ "/bin/bash", diff --git a/.devcontainer/cuda12.3-gcc9/devcontainer.json b/.devcontainer/cuda12.3-gcc9/devcontainer.json index 9fbe297b784..4e895e09f1e 100644 --- a/.devcontainer/cuda12.3-gcc9/devcontainer.json +++ b/.devcontainer/cuda12.3-gcc9/devcontainer.json @@ -2,7 +2,7 @@ "shutdownAction": "stopContainer", "image": "rapidsai/devcontainers:24.04-cpp-gcc9-cuda12.3-ubuntu20.04", "hostRequirements": { - "gpu": true + "gpu": "optional" }, "initializeCommand": [ "/bin/bash", diff --git a/.devcontainer/cuda12.3-llvm10/devcontainer.json b/.devcontainer/cuda12.3-llvm10/devcontainer.json index 22cedfe8e8e..c7152827c3f 100644 --- a/.devcontainer/cuda12.3-llvm10/devcontainer.json +++ b/.devcontainer/cuda12.3-llvm10/devcontainer.json @@ -2,7 +2,7 @@ "shutdownAction": "stopContainer", "image": "rapidsai/devcontainers:24.04-cpp-llvm10-cuda12.3-ubuntu20.04", "hostRequirements": { - "gpu": true + "gpu": "optional" }, "initializeCommand": [ "/bin/bash", diff --git a/.devcontainer/cuda12.3-llvm11/devcontainer.json b/.devcontainer/cuda12.3-llvm11/devcontainer.json index b8e8de411a5..a5ba402c262 100644 --- a/.devcontainer/cuda12.3-llvm11/devcontainer.json +++ b/.devcontainer/cuda12.3-llvm11/devcontainer.json @@ -2,7 +2,7 @@ "shutdownAction": "stopContainer", "image": "rapidsai/devcontainers:24.04-cpp-llvm11-cuda12.3-ubuntu20.04", "hostRequirements": { - "gpu": true + "gpu": "optional" }, "initializeCommand": [ "/bin/bash", diff --git a/.devcontainer/cuda12.3-llvm12/devcontainer.json b/.devcontainer/cuda12.3-llvm12/devcontainer.json index 6dc2db20007..7f880e9c41f 100644 --- a/.devcontainer/cuda12.3-llvm12/devcontainer.json +++ b/.devcontainer/cuda12.3-llvm12/devcontainer.json @@ -2,7 +2,7 @@ "shutdownAction": "stopContainer", "image": "rapidsai/devcontainers:24.04-cpp-llvm12-cuda12.3-ubuntu20.04", "hostRequirements": { - "gpu": true + "gpu": "optional" }, "initializeCommand": [ "/bin/bash", diff --git a/.devcontainer/cuda12.3-llvm13/devcontainer.json b/.devcontainer/cuda12.3-llvm13/devcontainer.json index da9ed78d2c6..8377112ffb8 100644 --- a/.devcontainer/cuda12.3-llvm13/devcontainer.json +++ b/.devcontainer/cuda12.3-llvm13/devcontainer.json @@ -2,7 +2,7 @@ "shutdownAction": "stopContainer", "image": "rapidsai/devcontainers:24.04-cpp-llvm13-cuda12.3-ubuntu20.04", "hostRequirements": { - "gpu": true + "gpu": "optional" }, "initializeCommand": [ "/bin/bash", diff --git a/.devcontainer/cuda12.3-llvm14/devcontainer.json b/.devcontainer/cuda12.3-llvm14/devcontainer.json index a4720fd4eb2..b2e70f206a1 100644 --- a/.devcontainer/cuda12.3-llvm14/devcontainer.json +++ b/.devcontainer/cuda12.3-llvm14/devcontainer.json @@ -2,7 +2,7 @@ "shutdownAction": "stopContainer", "image": "rapidsai/devcontainers:24.04-cpp-llvm14-cuda12.3-ubuntu20.04", "hostRequirements": { - "gpu": true + "gpu": "optional" }, "initializeCommand": [ "/bin/bash", diff --git a/.devcontainer/cuda12.3-llvm15/devcontainer.json b/.devcontainer/cuda12.3-llvm15/devcontainer.json index cd397039ef1..d88e3458eb7 100644 --- a/.devcontainer/cuda12.3-llvm15/devcontainer.json +++ b/.devcontainer/cuda12.3-llvm15/devcontainer.json @@ -2,7 +2,7 @@ "shutdownAction": "stopContainer", "image": "rapidsai/devcontainers:24.04-cpp-llvm15-cuda12.3-ubuntu22.04", "hostRequirements": { - "gpu": true + "gpu": "optional" }, "initializeCommand": [ "/bin/bash", diff --git a/.devcontainer/cuda12.3-llvm16/devcontainer.json b/.devcontainer/cuda12.3-llvm16/devcontainer.json index 700bcb3864c..896aabbcd27 100644 --- a/.devcontainer/cuda12.3-llvm16/devcontainer.json +++ b/.devcontainer/cuda12.3-llvm16/devcontainer.json @@ -2,7 +2,7 @@ "shutdownAction": "stopContainer", "image": "rapidsai/devcontainers:24.04-cpp-llvm16-cuda12.3-ubuntu22.04", "hostRequirements": { - "gpu": true + "gpu": "optional" }, "initializeCommand": [ "/bin/bash", diff --git a/.devcontainer/cuda12.3-llvm9/devcontainer.json b/.devcontainer/cuda12.3-llvm9/devcontainer.json index d5ef04809d2..6a7275d1a38 100644 --- a/.devcontainer/cuda12.3-llvm9/devcontainer.json +++ b/.devcontainer/cuda12.3-llvm9/devcontainer.json @@ -2,7 +2,7 @@ "shutdownAction": "stopContainer", "image": "rapidsai/devcontainers:24.04-cpp-llvm9-cuda12.3-ubuntu20.04", "hostRequirements": { - "gpu": true + "gpu": "optional" }, "initializeCommand": [ "/bin/bash", diff --git a/.devcontainer/cuda12.3-oneapi2023.2.0/devcontainer.json b/.devcontainer/cuda12.3-oneapi2023.2.0/devcontainer.json index 72e5b44e275..f04656008ea 100644 --- a/.devcontainer/cuda12.3-oneapi2023.2.0/devcontainer.json +++ b/.devcontainer/cuda12.3-oneapi2023.2.0/devcontainer.json @@ -2,7 +2,7 @@ "shutdownAction": "stopContainer", "image": "rapidsai/devcontainers:24.04-cpp-oneapi2023.2.0-cuda12.3-ubuntu22.04", "hostRequirements": { - "gpu": true + "gpu": "optional" }, "initializeCommand": [ "/bin/bash", diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 61dc064faca..5525d416fca 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -2,7 +2,7 @@ "shutdownAction": "stopContainer", "image": "rapidsai/devcontainers:24.04-cpp-gcc12-cuda12.3-ubuntu22.04", "hostRequirements": { - "gpu": true + "gpu": "optional" }, "initializeCommand": [ "/bin/bash",