Skip to content

Conversation

@gliga
Copy link
Member

@gliga gliga commented Jan 10, 2024

This PR introduces the runtime module and also functions for getting number of cpus.

There are so many approaches that work and do not (https://stackoverflow.com/questions/6481005/how-to-obtain-the-number-of-cpus-cores-in-linux-from-the-command-line), so it very much make sense to hide these behind an API.

@gliga gliga merged commit fc800a0 into main Jan 10, 2024
@gliga gliga deleted the gligoric/cpus branch January 10, 2024 18:15
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.

2 participants