added support zen4 support for gromacs (#35503)
Co-authored-by: Umashankar Sivakumar <Umashankar.Sivakumar@amd.com>
This commit is contained in:
parent
f073a9d589
commit
68f82357c8
1 changed files with 4 additions and 1 deletions
|
@ -428,7 +428,10 @@ def cmake_args(self):
|
|||
|
||||
# Activate SIMD based on properties of the target
|
||||
target = self.spec.target
|
||||
if target >= "zen2":
|
||||
if target >= "zen4":
|
||||
# AMD Family 17h (EPYC Genoa)
|
||||
options.append("-DGMX_SIMD=AVX_512")
|
||||
elif target >= "zen2":
|
||||
# AMD Family 17h (EPYC Rome)
|
||||
options.append("-DGMX_SIMD=AVX2_256")
|
||||
elif target >= "zen":
|
||||
|
|
Loading…
Reference in a new issue