arrayfire: added cudnn as a dependency when +cuda (#17146)

Co-authored-by: Sinan81 <sbulut@3vgeomatics.com>
This commit is contained in:
Sinan 2020-06-18 02:20:17 -07:00 committed by GitHub
parent 82eb71cb95
commit 1de20f00b6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,6 +25,7 @@ class Arrayfire(CMakePackage, CudaPackage):
depends_on('fftw')
depends_on('blas')
depends_on('cuda@7.5:', when='+cuda')
depends_on('cudnn', when='+cuda')
depends_on('opencl +icd', when='+opencl')
# TODO add more opencl backends:
# currently only Cuda backend is enabled