[Patch][AMD GCN][OpenMP] Add gcc/config/gcn/t-omp-device for OpenMP declare variant kind/arch/isa
Tobias Burnus
tobias@codesourcery.com
Mon Nov 4 15:31:00 GMT 2019
This adds gcc/config/gcn/t-omp-device to augment the nvptx, hsa and x86
host implementation.
This compiler has -march= carrizo/fiji/gfx900/gfx906 (for Corrizo, Fiji
and Vega GPUs; arch names aligned with LLVM and passed on to the linker).
This patch uses kind = "gnu" and those -march names for arch *and* isa,
but can argue about this choice.
(I have build the GCN compiler, but didn't do any additional tests â
also because GCN as offloading compiler is not yet supported on the trunk.)
OK for the trunk?
Tobias
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gcn-omp.diff
Type: text/x-patch
Size: 4346 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20191104/395c9594/attachment.bin>
More information about the Gcc-patches
mailing list