pytorch / cpuinfo

CPU INFOrmation library (x86/x86-64/ARM/ARM64, Linux/Windows/Android/macOS/iOS)
BSD 2-Clause "Simplified" License
990 stars 310 forks source link

Help required to add support for s390x #118

Open sangitanalkar opened 1 year ago

sangitanalkar commented 1 year ago

Hello,

We are looking forward to add s390x support to pytorch/cpuinfo. There are some config files like api.h as for arm and x86. Example for arm at "https://github.com/pytorch/cpuinfo/blob/master/src/arm/linux/api.h#L54" which use some values already defined for CPUINFO and we are not really sure how they are generated.

Any help/guidance in this area on how the values are generated would be helpful.

Also could see there are multiple config files maintained for x86 and ARM: x86: https://github.com/pytorch/cpuinfo/tree/master/src/x86/linux arm: https://github.com/pytorch/cpuinfo/tree/master/src/arm/linux Any insights on above would also be helpful.

namrata-ibm commented 1 year ago

Could someone help with above? Thank you!