Skip to content

Commit

Permalink
docs: update docker and podman anchor on CUDA section (#352365)
Browse files Browse the repository at this point in the history
  • Loading branch information
SomeoneSerge authored Oct 30, 2024
2 parents eb31593 + 0af55cf commit 0510f26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/languages-frameworks/cuda.section.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ All new projects should use the CUDA redistributables available in [`cudaPackage

In the scenario you are unable to run the resulting binary: this is arguably the most complicated as it could be any combination of the previous reasons. This type of failure typically occurs when a library attempts to load or open a library it depends on that it does not declare in its `DT_NEEDED` section. As a first step, ensure that dependencies are patched with [`autoAddDriverRunpath`](https://search.nixos.org/packages?channel=unstable&type=packages&query=autoAddDriverRunpath). Failing that, try running the application with [`nixGL`](https://github.com/guibou/nixGL) or a similar wrapper tool. If that works, it likely means that the application is attempting to load a library that is not in the `RPATH` or `RUNPATH` of the binary.

## Running Docker or Podman containers with CUDA support {#running-docker-or-podman-containers-with-cuda-support}
## Running Docker or Podman containers with CUDA support {#cuda-docker-podman}

It is possible to run Docker or Podman containers with CUDA support. The recommended mechanism to perform this task is to use the [NVIDIA Container Toolkit](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/index.html).

Expand Down

0 comments on commit 0510f26

Please sign in to comment.