Skip to content

Commit

Permalink
Merge pull request easybuilders#18768 from surak/20230912163535_new_p…
Browse files Browse the repository at this point in the history
…r_cuDNN89226

{numlib}[system/system] cuDNN v8.9.2.26 w/ CUDA 12.2.0
  • Loading branch information
branfosj authored Sep 13, 2023
2 parents fc5f05d + 8b98a6d commit d75e223
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions easybuild/easyconfigs/c/cuDNN/cuDNN-8.9.2.26-CUDA-12.2.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name = 'cuDNN'
version = '8.9.2.26'
versionsuffix = '-CUDA-%(cudaver)s'
homepage = 'https://developer.nvidia.com/cudnn'
description = """The NVIDIA CUDA Deep Neural Network library (cuDNN) is
a GPU-accelerated library of primitives for deep neural networks."""

toolchain = SYSTEM

# note: cuDNN is tied to specific to CUDA versions,
# see also https://docs.nvidia.com/deeplearning/cudnn/support-matrix/index.html#cudnn-cuda-hardware-versions
local_short_ver = '.'.join(version.split('.')[:3])
local_cuda_major = '12'

source_urls = [
'https://developer.download.nvidia.com/compute/cudnn/redist/cudnn/linux-%(cudnnarch)s/'
]
sources = ['%%(namelower)s-linux-%%(cudnnarch)s-%%(version)s_cuda%s-archive.tar.xz' % local_cuda_major]
checksums = [{
'%%(namelower)s-linux-ppc64le-%%(version)s_cuda%s-archive.tar.xz' % local_cuda_major:
'4f5e5bd01570c4805b93fb199f8bb6f8475d016948c55abf48fed9ffe89d13e5',
'%%(namelower)s-linux-sbsa-%%(version)s_cuda%s-archive.tar.xz' % local_cuda_major:
'898d00c82f9ad8797bd6f6c639327b320a38fa4aeebfb2b3fbb2db0d38f7e1b0',
'%%(namelower)s-linux-x86_64-%%(version)s_cuda%s-archive.tar.xz' % local_cuda_major:
'ccafd7d15c2bf26187d52d79d9ccf95104f4199980f5075a7c1ee3347948ce32',
}]

dependencies = [('CUDA', '12.2.0')]

sanity_check_paths = {
'files': [
'include/cudnn.h', 'lib64/libcudnn_adv_infer_static.a', 'lib64/libcudnn_adv_train_static.a',
'lib64/libcudnn_cnn_infer_static.a', 'lib64/libcudnn_cnn_train_static.a',
'lib64/libcudnn_ops_infer_static.a', 'lib64/libcudnn_ops_train_static.a',
'lib64/libcudnn.%s' % SHLIB_EXT
],
'dirs': ['include', 'lib64'],
}

moduleclass = 'numlib'

0 comments on commit d75e223

Please sign in to comment.