alpaka-group / alpaka

Abstraction Library for Parallel Kernel Acceleration :llama:
https://alpaka.readthedocs.io
Mozilla Public License 2.0
356 stars 74 forks source link

`getCpuName()` working properly only on `x86` cpus #2380

Open AdrianoDee opened 2 months ago

AdrianoDee commented 2 months ago

While running a CMS wfs on ARM I noticed that the CPU informations are not available

%MSG-i ThreadStreamSetup:  (NoModuleName) 10-Sep-2024 12:41:38 CEST pre-events
setting # threads 8
setting # streams 1
%MSG
%MSG-i AlpakaService:  (NoModuleName) 10-Sep-2024 12:41:39 CEST pre-events
AlpakaServiceSerialSync succesfully initialised.
Found 1 device:
  - <unknown: CPU>
%MSG

and it's related to how getCpuName() is implemented (for x86 only if I understand well). In general I think it would be nice to have this expanded to other architectures.