Hi Tom!
Taking this one to the mailing list; not directly related to PR104364:
On 2022-02-03T13:35:55+, "vries at gcc dot gnu.org via Gcc-bugs"
wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104364
> I've tested this using (recommended) driver 470.94 on boards:
(As not every user will be using the recommended/latest, I too am doing
some testing also on oldish Nvidia/CUDA Driver versions.) Combinatorial
explosion is a problem, of course...
> while iterating over dimensions { -mptx=3.1 , -mptx=6.3 } x {
> GOMP_NVPTX_JIT=-O0, }.
Do you use separate (nvptx-none offload target only?) builds for
different '-mptx' variants (likewise: '-misa'), or have you hacked up the
multilib configuration? ('gcc/config/nvptx/t-nvptx:MULTILIB_OPTIONS'
etc., I suppose?) Should we add a few representative configurations to
be built by default? And/or, should we have a way to 'configure' per
user needs (I suppose: '--with-multilib-list=[...]', as supported for a
few other targets?)? (I see there's also a new
'--with-multilib-generator=[...]', haven't looked in detail.) No matter
which way: again, combinatorial explosion is a problem, of course...
For example, in addition to the default (fiji/gfx803) for GCN we've got:
gcc/config/gcn/t-gcn-hsa:MULTILIB_OPTIONS =
march=gfx900/march=gfx906/march=gfx908
gcc/config/gcn/t-gcn-hsa:MULTILIB_DIRNAMES = gfx900 gfx906 gfx908
Grüße
Thomas
-
Siemens Electronic Design Automation GmbH; Anschrift: Arnulfstraße 201, 80634
München; Gesellschaft mit beschränkter Haftung; Geschäftsführer: Thomas
Heurung, Frank Thürauf; Sitz der Gesellschaft: München; Registergericht
München, HRB 106955