diff options
author | Sreenivasa Murthy Kolam <67086238+srekolam@users.noreply.github.com> | 2021-05-13 18:37:55 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-14 00:37:55 +0200 |
commit | 8b25bdcf4d65f49f2d75e8489a22c7e329a9ff48 (patch) | |
tree | c6942a362f469d6929877f2d9024d2347bc8eef2 /var | |
parent | 98cf0f5e0719353b3326b73581d5a74c8363009e (diff) | |
download | spack-8b25bdcf4d65f49f2d75e8489a22c7e329a9ff48.tar.gz spack-8b25bdcf4d65f49f2d75e8489a22c7e329a9ff48.tar.bz2 spack-8b25bdcf4d65f49f2d75e8489a22c7e329a9ff48.tar.xz spack-8b25bdcf4d65f49f2d75e8489a22c7e329a9ff48.zip |
Enable image_support flag to fix the issues with hipMalloc3D,hipMallocPitch() (#23620)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/hsa-rocr-dev/package.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/hsa-rocr-dev/package.py b/var/spack/repos/builtin/packages/hsa-rocr-dev/package.py index 899baf78e0..5ca7b8253d 100644 --- a/var/spack/repos/builtin/packages/hsa-rocr-dev/package.py +++ b/var/spack/repos/builtin/packages/hsa-rocr-dev/package.py @@ -37,6 +37,7 @@ class HsaRocrDev(CMakePackage): depends_on('hsakmt-roct@' + ver, type=('link', 'run'), when='@' + ver) for ver in ['3.7.0', '3.8.0', '3.9.0', '4.0.0', '4.1.0', 'master']: depends_on('llvm-amdgpu@' + ver, type=('link', 'run'), when='@' + ver) + depends_on('rocm-device-libs@' + ver, type=('link', 'run'), when='@' + ver) # Both 3.5.0 and 3.7.0 force INSTALL_RPATH in different ways patch('0001-Do-not-set-an-explicit-rpath-by-default-since-packag.patch', when='@3.5.0') @@ -49,6 +50,6 @@ class HsaRocrDev(CMakePackage): args = ['-DLIBELF_INCLUDE_DIRS=%s' % libelf_include] if '@3.7.0:' in self.spec: - args.append('-DIMAGE_SUPPORT=OFF') + args.append('-DIMAGE_SUPPORT=ON') return args |