[Bug target/97102] [nvptx] PTX JIT compilation failed when using aliases

2022-09-07 Thread burnus at gcc dot gnu.org via Gcc-bugs
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

[Bug target/97102] [nvptx] PTX JIT compilation failed when using aliases

2022-03-22 Thread vries at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97102 Tom de Vries changed: What|Removed |Added Target Milestone|--- |12.0 Resolution|---

[Bug target/97102] [nvptx] PTX JIT compilation failed when using aliases

2021-05-12 Thread vries at gcc dot gnu.org via Gcc-bugs
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

[Bug target/97102] [nvptx] PTX JIT compilation failed when using aliases

2020-09-23 Thread vries at gcc dot gnu.org
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

[Bug target/97102] [nvptx] PTX JIT compilation failed when using aliases

2020-09-23 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97102 Tom de Vries changed: What|Removed |Added Severity|normal |enhancement

[Bug target/97102] [nvptx] PTX JIT compilation failed when using aliases

2020-09-22 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97102 Tom de Vries changed: What|Removed |Added Attachment #49252|0 |1 is obsolete|

[Bug target/97102] [nvptx] PTX JIT compilation failed when using aliases

2020-09-22 Thread vries at gcc dot gnu.org
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

[Bug target/97102] [nvptx] PTX JIT compilation failed when using aliases

2020-09-22 Thread vries at gcc dot gnu.org
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 :-( > >

[Bug target/97102] [nvptx] PTX JIT compilation failed when using aliases

2020-09-18 Thread burnus at gcc dot gnu.org
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.

[Bug target/97102] [nvptx] PTX JIT compilation failed when using aliases

2020-09-18 Thread burnus at gcc dot gnu.org
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 –

[Bug target/97102] [nvptx] PTX JIT compilation failed when using aliases

2020-09-18 Thread burnus at gcc dot gnu.org
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