Answer the question
In order to leave comments, you need to log in
OpenMP + Visual C++ is it really that simple?
Is it really enough to simply add in the code before the for loop:
And it will automatically calculate it by cores.
How can I check if this works in visual studio 2015. Where can I see how many threads?
Answer the question
In order to leave comments, you need to log in
Open the task manager while computing and see.
In addition to this directive, some adaptation of the algorithm may be required - it depends on the task.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question