OpenMP in QT



  • Hey Guys,
    I am just wondering why OpenMP function omp_get_num_threads() returns only 1 Thread. We use in our company OpenMP which comes with Visual Studio 2013 together with Qt 5.6. Has any body an idea?


  • Qt Champions 2016

    Well, it depends, how do you start your program? Do you call omp_set_num_threads? And by the way, why not use Qt's own threading technology so you could drop the dependency on OpenMP?


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.