limit the amd_target_sram_ecc to rocm-3.9.0-4.0.0 (#26240)
This commit is contained in:
parent
b2376db632
commit
b56e1d1f6d
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ def cmake_args(self):
|
|||
# From version 3.9 and above we have AMDGPU_TARGETS_SRAM_ECC
|
||||
tgt_sram = self.spec.variants['amdgpu_target_sram_ecc'].value
|
||||
|
||||
if tgt_sram[0] != 'none' and '@3.9.0:' in self.spec:
|
||||
if tgt_sram[0] != 'none' and self.spec.satisfies('@3.9.0:4.0.0'):
|
||||
args.append(self.define('AMDGPU_TARGETS_SRAM_ECC', ";".join(tgt_sram)))
|
||||
|
||||
# See https://github.com/ROCmSoftwarePlatform/rocFFT/issues/322
|
||||
|
|
Loading…
Reference in a new issue