https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81886

--- Comment #8 from Tobias Burnus <burnus at gcc dot gnu.org> ---
Related: https://gcc.gnu.org/ml/gcc-patches/2020-01/msg01183.html (full thread)

Namely, AMD GCN has different ISA – and depending which are available in the
binary, the hardware could be chosen; having the wrong ISA one will fail while
a fat binary might support multiple. That's similar to this issue, except this
affects the same libgomp plugin, while the main discussion here is between
different plugins (or none for -foffload=disable).

Fun part: Assume one main program, which supports one set of (GPU/ISA) and a
linked (or dlopen'ed ?) library which supports another (GPU, ISA) set…

Reply via email to