GPUOpen-LibrariesAndSDKs / cpu-core-counts

A sample demonstrating how to correctly detect physical core and logical processor counts on AMD processors.
MIT License
55 stars 13 forks source link

no popcnt #6

Open pmiloslavsky opened 3 years ago

pmiloslavsky commented 3 years ago

PS C:\Users\pmilosla\Documents\GitHub\cpu-core-counts\windows> cl.exe .\AMDCoreCount.cpp Microsoft (R) C/C++ Optimizing Compiler Version 19.27.29112 for x86 Copyright (C) Microsoft Corporation. All rights reserved.

AMDCoreCount.cpp .\AMDCoreCount.cpp(93): error C3861: 'popcnt64': identifier not found .\AMDCoreCount.cpp(102): error C3861: 'popcnt64': identifier not found PS C:\Users\pmilosla\Documents\GitHub\cpu-core-counts\windows> ls

pmiloslavsky commented 3 years ago

with 64 bit tools it works