https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97102
--- Comment #9 from Tobias Burnus ---
Regarding the commit:
commit r12-7766-gf8b15e177155960017ac0c5daef8780d1127f91c
Author: Tom de Vries
Date: Fri Mar 11 13:41:01 2022 +0100
[nvptx] Use .alias directive for mptx >= 6.3
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97102
Tom de Vries changed:
What|Removed |Added
Target Milestone|--- |12.0
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97102
Bug 97102 depends on bug 96005, which changed state.
Bug 96005 Summary: Add possibility to use newer ptx isa
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96005
What|Removed |Added
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97102
--- Comment #7 from Tom de Vries ---
In PR97106 comment 1, it's suggested:
...
14:11 < amonakov> Tobias__: I think the proper way to solve this is define
hooks for the backend to print something for aliases, and then have nvptx-ld.c
resolve them
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97102
Tom de Vries changed:
What|Removed |Added
Severity|normal |enhancement
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97102
Tom de Vries changed:
What|Removed |Added
Attachment #49252|0 |1
is obsolete|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97102
--- Comment #5 from Tom de Vries ---
Created attachment 49252
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49252=edit
Other draft patch
I started out independently, and converged to roughly the same code.
One thing I came across during
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97102
--- Comment #4 from Tom de Vries ---
(In reply to Tobias Burnus from comment #2)
> Created attachment 49239 [details]
> Draft patch
>
> PTX ISA Notes
> .alias directive introduced in PTX ISA 6.3.
>
> Thus, it does not work everywhere :-(
>
>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97102
--- Comment #3 from Tobias Burnus ---
(In reply to Tobias Burnus from comment #2)
> PTX ISA Notes
> .alias directive introduced in PTX ISA 6.3.
Which is CUDA 10.0, cf.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97102
--- Comment #2 from Tobias Burnus ---
Created attachment 49239
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49239=edit
Draft patch
PTX ISA Notes
.alias directive introduced in PTX ISA 6.3.
Thus, it does not work everywhere :-(
Patch –
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97102
--- Comment #1 from Tobias Burnus ---
(In reply to Tobias Burnus from comment #0)
> .visible .func (.param.u32 %value_out) foo
https://docs.nvidia.com/cuda/parallel-thread-execution/index.html#kernel-and-function-directives-alias
has the
11 matches
Mail list logo