Alexander Grund c78787e089 Fix use of CPUID overwriting registers in use.
CPUID writes to EAX, EBX, ECX, and EDX so the inline-asm must state that.
Otherwise currently in-use register might get overwritten which may
cause all kinds of failures like segfaults or wrong results.

Alternatively `__cpuid` can be used which avoids this and related issues.
So do that as suggested in the GCC issue https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112513


[ROCm/rccl commit: cece6415b0]
2023-11-14 12:38:02 +01:00
S
Beschreibung
Keine Beschreibung vorhanden
282 MiB
Sprachen
C++ 67.5%
C 20.6%
Python 6.6%
CMake 3.4%
Shell 0.6%
Andere 1.1%