Skip to content

Commit c2911b8

Browse files
committed
go back to ARMV70
Signed-off-by: laraPPr <[email protected]>
1 parent 6d14576 commit c2911b8

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

eb_hooks.py

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1031,7 +1031,7 @@ def pre_configure_hook_LAMMPS_zen4_and_aarch64_cuda(self, *args, **kwargs):
10311031
self.cfg['kokkos_arch'] = 'ARMV81'
10321032
# To disable simd kokkos_arch need to be set to ARMV7
10331033
if self.cuda:
1034-
self.cfg['kokkos_arch'] = 'NATIVE'
1034+
self.cfg['kokkos_arch'] = 'ARMV70'
10351035

10361036
# Disable SIMD for specific CUDA versions
10371037
if self.version == '2Aug2023_update2':
@@ -1042,12 +1042,7 @@ def pre_configure_hook_LAMMPS_zen4_and_aarch64_cuda(self, *args, **kwargs):
10421042
if dep['version'] in cuda_versions:
10431043
cxxflags = os.getenv('CXXFLAGS', '')
10441044
cxxflags = cxxflags.replace('-mcpu=native', '')
1045-
if cpu_target == CPU_TARGET_AARCH64_GENERIC:
1046-
# For targets build with ARMV80
1047-
cxxflags += ' -march=armv7-a+nosimd'
1048-
else:
1049-
# In 2Aug2023 all other targets are build with ARMV81
1050-
cxxflags += ' -march=armv8-a+nosimd'
1045+
cxxflags += ' -march=armv8-a+nosimd'
10511046
self.log.info("Setting CXXFLAGS to disable NEON: %s", cxxflags)
10521047
env.setvar('CXXFLAGS', cxxflags)
10531048

0 commit comments

Comments
 (0)