2 Replies Latest reply on Apr 12, 2011 6:20 AM by merry1

    number of physical cores (excluding hyperthreading)

    golovashkin

      Hi,

      Does ACML have a function/way to query the number of physical cores on the machine?   When hyperthreading is enabled I get an "inflated" number of cores, and need to know only the physical/actual ones...

      So far, every single method I have tried gives me back the total number (including the hyper threading) for instance omp_get_num_threads, Linux-specific sysconf(), C++0x thread::hardware_concurrency(), etc.

      Thank you!

      Kind regards,

      dm.