ROCm / hipfort

Fortran interfaces for ROCm libraries
https://rocm.docs.amd.com/projects/hipfort/en/latest/
Other
69 stars 37 forks source link

Disable -march=native by default #131

Closed cgmb closed 9 months ago

cgmb commented 10 months ago

The -march=native flag should not be added by default, as the resulting binaries are not guaranteed to be portable between machines.

I'm not sure why, but the flag didn't seem to be used when compiling anyway. Nevertheless, I'm guarding it behind a configuration option to be sure that it is never enabled by mistake.