diff options
author | Harmen Stoppels <harmenstoppels@gmail.com> | 2021-02-03 18:06:49 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-03 09:06:49 -0800 |
commit | b597e01e330637318ca5bd6d01e6faef9b2754ac (patch) | |
tree | 1b891e9c1dac4605f17a6576c5b2c82c38fd1c25 | |
parent | 2b7547c03c0281ced18fc30e5fa087f329e79c5c (diff) | |
download | spack-b597e01e330637318ca5bd6d01e6faef9b2754ac.tar.gz spack-b597e01e330637318ca5bd6d01e6faef9b2754ac.tar.bz2 spack-b597e01e330637318ca5bd6d01e6faef9b2754ac.tar.xz spack-b597e01e330637318ca5bd6d01e6faef9b2754ac.zip |
Add cuda as opencl provider (#21464)
-rw-r--r-- | var/spack/repos/builtin/packages/cuda/package.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/cuda/package.py b/var/spack/repos/builtin/packages/cuda/package.py index 4e9cf41e7f..a0f4249b03 100644 --- a/var/spack/repos/builtin/packages/cuda/package.py +++ b/var/spack/repos/builtin/packages/cuda/package.py @@ -97,6 +97,9 @@ class Cuda(Package): depends_on('libxml2', when='@10.1.243:') + provides('opencl@:1.2', when='@7:') + provides('opencl@:1.1', when='@:6') + @classmethod def determine_version(cls, exe): output = Executable(exe)('--version', output=str, error=str) |