summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/cudnn/package.py9
1 files changed, 7 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/cudnn/package.py b/var/spack/repos/builtin/packages/cudnn/package.py
index 11f61742d0..4491af18a8 100644
--- a/var/spack/repos/builtin/packages/cudnn/package.py
+++ b/var/spack/repos/builtin/packages/cudnn/package.py
@@ -23,9 +23,11 @@ class Cudnn(Package):
maintainers = ['adamjstewart']
# cuDNN 7.6.5
- version('7.6.5.32-10.1-linux-x64',
- sha256='7eaec8039a2c30ab0bc758d303588767693def6bf49b22485a2c00bf2e136cb3',
+ version('7.6.5.32-10.2-linux-x64',
+ sha256='600267f2caaed2fd58eb214ba669d8ea35f396a7d19b94822e6b36f9f7088c20',
preferred=True)
+ version('7.6.5.32-10.1-linux-x64',
+ sha256='7eaec8039a2c30ab0bc758d303588767693def6bf49b22485a2c00bf2e136cb3')
version('7.6.5.32-10.1-osx-x64',
sha256='8ecce28a5ed388a2b9b2d239e08d7c550f53b79288e6d9e5eb4c152bfc711aff')
version('7.6.5.32-10.1-linux-ppc64le',
@@ -119,6 +121,9 @@ class Cudnn(Package):
version('5.1-8.0-linux-x64',
sha256='c10719b36f2dd6e9ddc63e3189affaa1a94d7d027e63b71c3f64d449ab0645ce')
+ # CUDA 10.2
+ depends_on('cuda@10.2.0:10.2.999', when='@7.6.5.32-10.2-linux-x64')
+
# CUDA 10.1
depends_on('cuda@10.1.0:10.1.999', when='@7.6.5.32-10.1-osx-x64')
depends_on('cuda@10.1.0:10.1.999', when='@7.6.5.32-10.1-linux-x64')