Skip to content

Sort values for cuda_compute_capabilities templates #5144

Open
Flamefire wants to merge 2 commits intoeasybuilders:developfrom
Flamefire:sort-cuda-ccs
Open

Sort values for cuda_compute_capabilities templates #5144
Flamefire wants to merge 2 commits intoeasybuilders:developfrom
Flamefire:sort-cuda-ccs

Conversation

@Flamefire
Copy link
Contributor

@Flamefire Flamefire commented Mar 10, 2026

There have been instances where the order matters so sort the values.
Even if it doesn't solve some issues it will at least be consistent.

E.g. --cuda-compute-capabilities=7.5,8.0 should be the same as --cuda-compute-capabilities=8.0,7.5

This is also important to avoid issues with Blackwell that introduced CUDA CC 10.x which when sorting naively will be incorrectly the "lowest" CC.

See companion PR easybuilders/easybuild-easyblocks#4092

There have been instances where the order matters so sort the values.
Even if it doesn't solve some issues it will at least be consistent.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants