MantisBT - CMake
View Issue Details
0016006CMakeCMakepublic2016-03-04 03:242016-06-10 14:31
Nils Gladitz 
Kitware Robot 
normalminoralways
closedmoved 
 
 
0016006: Incorrect physical/logical core counts from kwsys on Windows
I am not entirely sure if this is the right place for kwsys issues?

On a Windows 7 64-bit system with two of these:
http://ark.intel.com/products/47922/Intel-Xeon-Processor-X5650-12M-Cache-2_66-GHz-6_40-GTs-Intel-QPI [^]

Hyper-threading is enabled.

In cmsys::SystemInformation
  info.GetNumberOfLogicalCPU() returns 32 (expected is 24)
  info.GetNumberOfPhysicalCPU() returns 0 (expected is 2)

In CMake I exposed these values through
NUMBER_OF_LOGICAL_CORES and NUMBER_OF_PHYSICAL_CORES in
cmake_host_system_information().

The Windows GetSystemInfo() filled SYSTEM_INFO structure reports 24 in dwNumberOfProcessors.

cmake_host_system_information(RESULT PHYSICAL_CORES
    QUERY NUMBER_OF_PHYSICAL_CORES
)

cmake_host_system_information(RESULT LOGICAL_CORES
    QUERY NUMBER_OF_LOGICAL_CORES
)

message("[${PHYSICAL_CORES}:${LOGICAL_CORES}]")
No tags attached.
Issue History
2016-03-04 03:24Nils GladitzNew Issue
2016-03-07 11:35Brad KingNote Added: 0040640
2016-06-10 14:29Kitware RobotNote Added: 0042957
2016-06-10 14:29Kitware RobotStatusnew => resolved
2016-06-10 14:29Kitware RobotResolutionopen => moved
2016-06-10 14:29Kitware RobotAssigned To => Kitware Robot
2016-06-10 14:31Kitware RobotStatusresolved => closed

Notes
(0040640)
Brad King   
2016-03-07 11:35   
KWSys does not have a separate issue tracker so this is fine.

For reference, KWSys Git repository instructions are here:

 http://public.kitware.com/Wiki/KWSys/Git [^]
(0042957)
Kitware Robot   
2016-06-10 14:29   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.