Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build subprojects with multiple threads #5

Open
PhilippvK opened this issue Nov 8, 2022 · 0 comments
Open

Build subprojects with multiple threads #5

PhilippvK opened this issue Nov 8, 2022 · 0 comments
Assignees

Comments

@PhilippvK
Copy link
Collaborator

Currently subprojects such as muriscvnn and CMSISNN are build with a hardcoded number of threads which is currently either 1, 4 or $(nproc). As we use MLonMCU on machines with 4, 8, 24 cores we should adapt the number of used threads to the mlif.num_threads setting to use our resources efficiently. As the global -j argument can not be passed to the Makefile, we need to add an additional command line setting which can be set by MLonMCU: i.e. -DNUM_THREADS=

@PhilippvK PhilippvK self-assigned this Nov 10, 2022
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

No branches or pull requests

1 participant