Created
December 3, 2022 05:00
-
-
Save maniyar1/c5034c5d5152a2c8357614693379ec69 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17a18 | |
> #include <omp.h> | |
62c63,64 | |
< // TODO: to be tested | |
--- | |
> auto prevMaxThreads = omp_get_num_threads(); | |
> omp_set_num_threads(1); | |
84c86 | |
< // TODO: to be tested | |
--- | |
> omp_set_num_threads(prevMaxThreads); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment