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

--- Comment #4 from Tobias Burnus <burnus at gcc dot gnu.org> ---
(In reply to Jerry DeLisle from comment #3)
> Created attachment 65372 [details]
> Preliminary patch for testing
> This is the tentative patch. I can't test with actual offloading. 

I still have to find the time to actually understand what goes wrong - and what
the patch does exactly. However, I can confirm that your attached patch fixes
the issue with nvptx offloading :-)

* * *

BTW: You can test it if you either have an nvidia GPU (like I have in my
laptop) - or by using https://gcc.gnu.org/wiki/CompileFarm – which has two
systems with Nvidia GPUs (https://portal.cfarm.net/news/56); building as
described at https://gcc.gnu.org/wiki/Offloading

However, asking someone to run the test also works ;-)

Reply via email to