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

--- Comment #1 from Tom de Vries <vries at gcc dot gnu.org> ---
(In reply to Thomas Schwinge from comment #0)
> At this point, it's (a) unclear whether the PR83812 restriction indeed is
> supposed to be lifted for certain modern GPU hardware/SM levels/CUDA Driver
> releases,

Looking at the latest ptx isa spec, 7.3, we have:
...
Atomic operations may be used only with .global and .shared spaces and with
generic addressing, where the address points to .global or .shared space.
...

That seems pretty clear.

It's also not unusual for different archs to have different failure modes.

I'm not sure what you aim to achieve with the test-case.

My inclination would be to skip it for nvptx, which AFAIU is opposite to your
intent when adding it.  So, perhaps just remove it?

Reply via email to