handle other architectures than Intel (#21509)
This commit is contained in:
parent
d630d63755
commit
d58ed20239
@ -211,8 +211,8 @@ def cmake_args(self):
|
||||
elif target == 'mic_knl':
|
||||
# Intel KNL
|
||||
options.append('-DGMX_SIMD=AVX_512_KNL')
|
||||
elif target.vendor == 'GenuineIntel':
|
||||
# Other Intel architectures
|
||||
else:
|
||||
# Other architectures
|
||||
simd_features = [
|
||||
('sse2', 'SSE2'),
|
||||
('sse4_1', 'SSE4.1'),
|
||||
@ -231,8 +231,8 @@ def cmake_args(self):
|
||||
if feature in target:
|
||||
options.append('-DGMX_SIMD:STRING={0}'.format(flag))
|
||||
break
|
||||
else:
|
||||
# Fall back to this for unknown microarchitectures
|
||||
|
||||
# Fall back
|
||||
options.append('-DGMX_SIMD:STRING=None')
|
||||
|
||||
# Use the 'rtdscp' assembly instruction only on
|
||||
|
Loading…
Reference in New Issue
Block a user