Skip to content

[CK][CI] Fix potential oversubscription during build#2086

Merged
mhalk merged 1 commit intoROCm:aomp-devfrom
mhalk:amd/dev/mhalkenh/fix/ck-run-build-oversubscription
Mar 16, 2026
Merged

[CK][CI] Fix potential oversubscription during build#2086
mhalk merged 1 commit intoROCm:aomp-devfrom
mhalk:amd/dev/mhalkenh/fix/ck-run-build-oversubscription

Conversation

@mhalk
Copy link
Copy Markdown
Contributor

@mhalk mhalk commented Mar 16, 2026

Added check to avoid setting the build parallelism > nproc

Motivation

For certain system configurations the set parallelism would exceed the core count reported by nproc.
This leads to over-subscription and unresponsiveness of the system during the build of CK.

Technical Details

Added MAX(a, b) check.

Test Plan

Dry runs with different values.

Added check to avoid setting the build parallelism > nproc
@mhalk mhalk force-pushed the amd/dev/mhalkenh/fix/ck-run-build-oversubscription branch from 01ff678 to 52d3904 Compare March 16, 2026 13:22
@mhalk mhalk merged commit 5a6c14e into ROCm:aomp-dev Mar 16, 2026
1 check failed
@mhalk mhalk deleted the amd/dev/mhalkenh/fix/ck-run-build-oversubscription branch March 16, 2026 13:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants