Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions devito/arch/archinfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -753,8 +753,10 @@ def get_platform():
return platform_registry['power8']
elif 'arm' in brand:
return platform_registry['arm']
elif 'm1' in brand:
return platform_registry['m1']
elif 'apple m' in brand:
# Unregistered (newer) chips fall back to the latest AppleArm
key = brand.split('apple ')[1].split()[0]
return platform_registry.get(key, platform_registry['m3'])
elif 'amd' in brand:
return platform_registry['amd']
except:
Expand Down
Loading