Merge pull request #172786 from danielfullmer/cudnn-src

cudaPackages.cudnn: fix source fetching
This commit is contained in:
Samuel Ainsworth 2022-08-26 18:35:01 -07:00 committed by GitHub
commit 36342ac7ad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,12 +21,12 @@
{ fullVersion
, url
, hash ? null
, sha256 ? null
, hash ? ""
, sha256 ? ""
, supportedCudaVersions ? [ ]
}:
assert (hash != null) || (sha256 != null);
assert (hash != "") || (sha256 != "");
assert useCudatoolkitRunfile || (libcublas != null);