Skip to content

Commit 2441675

Browse files
committed
misc: Fixes
1 parent 869f236 commit 2441675

1 file changed

Lines changed: 26 additions & 24 deletions

File tree

devito/arch/archinfo.py

Lines changed: 26 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -18,30 +18,32 @@
1818
from devito.logger import warning
1919
from devito.tools import as_tuple, all_equal, memoized_func
2020

21-
__all__ = ['platform_registry', 'get_cpu_info', 'get_gpu_info', 'get_visible_devices',
22-
'get_nvidia_cc', 'get_cuda_path', 'get_hip_path', 'check_cuda_runtime',
23-
'get_m1_llvm_path', 'get_advisor_path', 'Platform', 'Cpu64', 'Intel64',
24-
'IntelSkylake', 'Amd', 'Arm', 'Power', 'Device', 'NvidiaDevice',
25-
'AmdDevice', 'IntelDevice',
26-
# Brand-agnostic
27-
'ANYCPU', 'ANYGPU',
28-
# Intel CPUs
29-
'INTEL64', 'SNB', 'IVB', 'HSW', 'BDW', 'KNL', 'KNL7210',
30-
'SKX', 'KLX', 'CLX', 'CLK', 'SPR',
31-
# AMD CPUs
32-
'AMD',
33-
# ARM CPUs
34-
'ARM', 'AppleArm', 'M1', 'M2', 'M3',
35-
'Graviton', 'GRAVITON2', 'GRAVITON3', 'GRAVITON4',
36-
'Cortex', 'NvidiaArm', 'GRACE',
37-
# Other legacy CPUs
38-
'POWER8', 'POWER9',
39-
# Generic GPUs
40-
'AMDGPUX', 'NVIDIAX', 'INTELGPUX',
41-
# Nvidia GPUs
42-
'VOLTA', 'AMPERE', 'HOPPER', 'BLACKWELL',
43-
# Intel GPUs
44-
'PVC', 'INTELGPUMAX', 'MAX1100', 'MAX1550']
21+
__all__ = [
22+
'platform_registry', 'get_cpu_info', 'get_gpu_info', 'get_visible_devices',
23+
'get_nvidia_cc', 'get_cuda_path', 'get_cuda_version', 'get_hip_path',
24+
'check_cuda_runtime', 'get_m1_llvm_path', 'get_advisor_path', 'Platform',
25+
'Cpu64', 'Intel64', 'IntelSkylake', 'Amd', 'Arm', 'Power', 'Device',
26+
'NvidiaDevice', 'AmdDevice', 'IntelDevice',
27+
# Brand-agnostic
28+
'ANYCPU', 'ANYGPU',
29+
# Intel CPUs
30+
'INTEL64', 'SNB', 'IVB', 'HSW', 'BDW', 'KNL', 'KNL7210',
31+
'SKX', 'KLX', 'CLX', 'CLK', 'SPR',
32+
# AMD CPUs
33+
'AMD',
34+
# ARM CPUs
35+
'ARM', 'AppleArm', 'M1', 'M2', 'M3',
36+
'Graviton', 'GRAVITON2', 'GRAVITON3', 'GRAVITON4',
37+
'Cortex', 'NvidiaArm', 'GRACE',
38+
# Other legacy CPUs
39+
'POWER8', 'POWER9',
40+
# Generic GPUs
41+
'AMDGPUX', 'NVIDIAX', 'INTELGPUX',
42+
# Nvidia GPUs
43+
'VOLTA', 'AMPERE', 'HOPPER', 'BLACKWELL',
44+
# Intel GPUs
45+
'PVC', 'INTELGPUMAX', 'MAX1100', 'MAX1550'
46+
]
4547

4648

4749
@memoized_func

0 commit comments

Comments
 (0)