Skip to content

Conversation

LvlAndFarm
Copy link

@LvlAndFarm LvlAndFarm commented Sep 15, 2024

Adds support for fractional thread counts when using thread count flag -j

E.g.:

-j 1 => 1 thread
-j 3 => 3 threads
-j 0.75C => 3 threads on a 4-core machine
-j 1C => 4 threads on a 4-core machine

Closes #3482

@LvlAndFarm
Copy link
Author

@lihaoyi I've changed the PR now to take fractional thread counts with the C prefix e.g. -j 0.75C

@lihaoyi
Copy link
Member

lihaoyi commented Sep 15, 2024

Will take a look tomorrow! It's bedtime here now

@lihaoyi
Copy link
Member

lihaoyi commented Sep 16, 2024

@LvlAndFarm I'm picking #3554 for the bounty, somewhat arbitrarily, but I'm going to close this one. Thanks for the time you put in, and feel free to look at the other bounties if you're still interested at trying your hand :)

@lihaoyi lihaoyi closed this Sep 16, 2024
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.

Allow fractional jobs to automatically scale by number of CPUs (200USD Bounty)
2 participants