Click here to Skip to main content
13,800,497 members
Rate this:
Please Sign up or sign in to vote.
See more:
Is setting omp_set_num_threads(1) equivalent to linear programming if i have some parallel for loop?
And what is the use of omp_set_dynamic(0);

What I have tried:

I am tring to run nested for loops and had the above query.
Posted 8-May-16 7:31am
No. :-)
Member 12509578 8-May-16 13:01pm
could you please give a little background for the answer as I am very new to openMP.
Well, this number is just the default. Let's say, you provide some recommendation based on your knowledge of the typical situation. Using 1 thread is pointless. I don't know what is "linear programming", but how using OpenMP could be ever equivalent to single-thread programming, ever? This is just simple logic...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Cookies | Terms of Service
Web01 | 2.8.181214.1 | Last Updated 8 May 2016
Copyright © CodeProject, 1999-2018
All Rights Reserved.
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100