Skip to content

Commit 38b213a

Browse files
authored
Merge pull request #224 from casparvl/reduce_parallelism_for_rocm
Limit parallelism for ROCm-LLVM to max. 12 cores
2 parents 1be9eb4 + 1be5d02 commit 38b213a

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

eb_hooks.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2156,4 +2156,7 @@ def set_maximum(parallel, max_value):
21562156
CPU_TARGET_NEOVERSE_N1: (divide_by_factor, 2),
21572157
CPU_TARGET_NEOVERSE_V1: (divide_by_factor, 2),
21582158
},
2159+
'ROCm-LLVM': {
2160+
'*': (set_maximum, 12),
2161+
},
21592162
}

0 commit comments

Comments
 (0)