added support zen4 support for gromacs (#35503)

Co-authored-by: Umashankar Sivakumar <Umashankar.Sivakumar@amd.com>
This commit is contained in:
AMD Toolchain Support 2023-02-17 06:08:58 +05:30 committed by GitHub
parent f073a9d589
commit 68f82357c8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -428,7 +428,10 @@ def cmake_args(self):
# Activate SIMD based on properties of the target # Activate SIMD based on properties of the target
target = self.spec.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) # AMD Family 17h (EPYC Rome)
options.append("-DGMX_SIMD=AVX2_256") options.append("-DGMX_SIMD=AVX2_256")
elif target >= "zen": elif target >= "zen":