cudnn: provide default version fallback
When passed a CUDA version not in the table of default cuDNN versions for CUDA versions, fall back to a default package version instead of breaking evaluation of the package.
This commit is contained in:
parent
e17b079679
commit
35425566b8
|
@ -111,6 +111,6 @@ final: prev: let
|
|||
"11.4" = "8.3.2";
|
||||
"11.5" = "8.3.2";
|
||||
"11.6" = "8.3.2";
|
||||
}.${cudaVersion};
|
||||
}.${cudaVersion} or "8.3.2";
|
||||
|
||||
in cuDnnPackages
|
||||
|
|
Loading…
Reference in a new issue