Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. OpenMP in QT
Forum Updated to NodeBB v4.3 + New Features

OpenMP in QT

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 721 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    shrd17
    wrote on last edited by
    #1

    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?

    kshegunovK 1 Reply Last reply
    0
    • S shrd17

      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?

      kshegunovK Offline
      kshegunovK Offline
      kshegunov
      Moderators
      wrote on last edited by
      #2

      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?

      Read and abide by the Qt Code of Conduct

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved