diff options
author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2023-05-27 00:13:30 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-27 00:13:30 +0000 |
commit | 490b8d0c9a95da15df3af839cd65b924fe8f0d9a (patch) | |
tree | 3c6529866ce5f3b0b4ed761e61189dfd014bb776 /doc | |
parent | ec5b05b17d22027d77ec55a504f6db7d85baaa5e (diff) | |
parent | dc7b61633814c589530b0b8812ca73f9be6ffe29 (diff) |
Merge master into haskell-updates
Diffstat (limited to 'doc')
-rw-r--r-- | doc/languages-frameworks/cuda.section.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/languages-frameworks/cuda.section.md b/doc/languages-frameworks/cuda.section.md index f523a8c884617..6b19e02e74e9f 100644 --- a/doc/languages-frameworks/cuda.section.md +++ b/doc/languages-frameworks/cuda.section.md @@ -8,7 +8,7 @@ A package set is available for each CUDA version, so for example `cudaPackages_11_6`. Within each set is a matching version of the above listed packages. Additionally, other versions of the packages that are packaged and compatible are available as well. For example, there can be a -`cudaPackages.cudnn_8_3_2` package. +`cudaPackages.cudnn_8_3` package. To use one or more CUDA packages in an expression, give the expression a `cudaPackages` parameter, and in case CUDA is optional ```nix @@ -28,7 +28,7 @@ set. ```nix mypkg = let cudaPackages = cudaPackages_11_5.overrideScope' (final: prev: { - cudnn = prev.cudnn_8_3_2; + cudnn = prev.cudnn_8_3; }}); in callPackage { inherit cudaPackages; }; ``` |