https://gcc.gnu.org/pipermail/gcc-patches/2026-April/713095.html

Tobias Burnus wrote:
Tobias Burnus wrote on April 16, 2026:
This came on IRC when richi wondered whether there should be such feature:
  -foffload-options=-march=native

The obvious place to handle seems to be mkoffload. Well, attached is an attempt
 to so for Nvidia, which works fine on my laptop:

-march=native  becomes  -march-map=sm_86  which then becomes -misa=sm_80.

Thoughts, comments, remark?
Or even OK for GCC 17 mainline?

Reply via email to