pytorch/cpuinfo

Why do we need 'get_system_info_from_registry' for ARM64 device?

quic-zhanweiw opened this issue · 0 comments

Why do we need to read the register key 'HARDWARE\DESCRIPTION\System\CentralProcessor\0' and compare it with the data in the array 'woa_chips'?
Only Windows On ARM devices have this code. This is not friendly to the compatibility of new Windows On ARM devices.

LPCWSTR cpu0_subkey = L"HARDWARE\\DESCRIPTION\\System\\CentralProcessor\\0";