cpuinfo icon indicating copy to clipboard operation
cpuinfo copied to clipboard

Why do we need 'get_system_info_from_registry' for ARM64 device?

Open quic-zhanweiw opened this issue 1 year ago • 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.

https://github.com/pytorch/cpuinfo/blob/3c8b1533ac03dd6531ab6e7b9245d488f13a82a5/src/arm/windows/init.c#L154

quic-zhanweiw avatar May 22 '24 11:05 quic-zhanweiw