summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorBrian Van Essen <vanessen1@llnl.gov>2020-01-24 07:30:38 -0800
committerAdam J. Stewart <ajstewart426@gmail.com>2020-01-24 09:30:38 -0600
commit4a5835ef2c3efc44ff18670aa31a239b8764243b (patch)
tree68033c62caec7da25bb58eab66c1a73a45ad317b /var
parentca6e75c9f678ecf603354531cfec68ab4a121def (diff)
downloadspack-4a5835ef2c3efc44ff18670aa31a239b8764243b.tar.gz
spack-4a5835ef2c3efc44ff18670aa31a239b8764243b.tar.bz2
spack-4a5835ef2c3efc44ff18670aa31a239b8764243b.tar.xz
spack-4a5835ef2c3efc44ff18670aa31a239b8764243b.zip
Added version for 10.2 compatibility (#14613)
* Added version for 10.2 compatibility * Updated the preferred version
Diffstat (limited to 'var')
-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')