ROCm / rocm_smi_lib

ROCm SMI LIB
https://rocm.docs.amd.com/projects/rocm_smi_lib/en/latest/
MIT License
111 stars 48 forks source link

enable machine specific flags on x86_64 only #105

Open emollier opened 2 years ago

emollier commented 2 years ago

When attempting to build on non x86_64 targets, the compiler chokes on the -m* machine specific flags, which work only with x86_64 processors. This change allows non x86_64 to build rocm_smi_lib with their own generic options without altering the behavior for x86_64 targets.

Signed-off-by: Étienne Mollier emollier@debian.org