diff options
author | Connor Baker <connor.baker@tweag.io> | 2023-05-24 12:48:20 -0400 |
---|---|---|
committer | Connor Baker <connor.baker@tweag.io> | 2023-05-24 12:56:22 -0400 |
commit | 222d966273a9ce85964bd82ec31c41f12099afa7 (patch) | |
tree | a8788b8e452dc9a76e11ee8b6bb95d3ba52265b8 /doc | |
parent | 9d7f13350d17cd611256d2b943f0b6f1bbbd7919 (diff) |
cudaPackages.cudnn: remove patch version from name to conform with cudaPackages standard
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; }; ``` |