25 Commits

Author SHA1 Message Date
Andrzej Janik
6f2ca43cfa Cleanup. Remove unused SPIR-V emit code and old compilation passes 2024-10-09 16:31:14 +02:00
Andrzej Janik
193eb29be8 PTX parser rewrite (#267)
Replaces traditional LALRPOP-based parser with winnow-based parser to handle out-of-order instruction modifer. Generate instruction type and instruction visitor from a macro instead of writing by hand. Add separate compilation path using the new parser that only works in tests for now
2024-09-04 15:47:42 +02:00
Andrzej Janik
971951bc9e Improve reporting of recovered unrecognized statement/directive 2021-12-14 00:02:23 +01:00
Andrzej Janik
0ca14d740f Better reporting of unrecognized tokens 2021-12-13 22:25:26 +01:00
Andrzej Janik
82510ce8fd Convert unit tests to HIP 2021-09-06 22:58:12 +02:00
Andrzej Janik
a2e77fe961 Refactor host code to use one big lock 2020-11-12 20:12:14 +01:00
Andrzej Janik
2b3ecc99e3 Implement pass to handle .extern .shared and add parsing code for it 2020-10-18 14:46:05 +02:00
Andrzej Janik
bcb749cdd9 Continue working on a better addressable support 2020-09-18 18:08:40 +02:00
Andrzej Janik
48dac43540 Parse vector movs (mov.type a.x b.y;) 2020-09-12 02:33:20 +02:00
Andrzej Janik
87cc72494e Parse Linux vectorAdd debug PTX kernel 2020-09-02 02:03:13 +02:00
Andrzej Janik
2e4cadc2ab Refactor main library, implement some more functionality 2020-09-01 01:43:09 +02:00
Andrzej Janik
872d69c714 Implement constants in translation middle-end 2020-07-20 00:01:03 +02:00
Andrzej Janik
f2f3eeb303 Validate PTX build tests against SPIR-V sources 2020-07-12 14:58:54 +02:00
Andrzej Janik
279e6246ba Finish implementing implicit conversions 2020-06-17 02:53:46 +02:00
Andrzej Janik
f4239f64ac Clean up warnings and dead code 2020-05-15 23:23:03 +02:00
Andrzej Janik
531cefce36 Remove all OCL use and clean up a little spirv_run tests 2020-05-14 02:18:25 +02:00
Andrzej Janik
4b894abd96 Clean up L0 use 2020-05-14 02:03:39 +02:00
Andrzej Janik
5e25a222f4 Use L0 USM to run a kernel with input bitcast to global pointer 2020-05-12 01:20:31 +02:00
Andrzej Janik
d0aa5ba564 Add a simple (and failing) PTX end-to-end test 2020-05-10 22:30:34 +02:00
Andrzej Janik
7b2bc69330 Start doing SSA conversion 2020-04-22 00:55:49 +02:00
Andrzej Janik
426b9c5cb8 Calculate domination frontiers 2020-04-19 18:09:44 +02:00
Andrzej Janik
bbe993392b Add better error handling during ast construction 2020-04-12 20:50:34 +02:00
Andrzej Janik
b8129aab20 Start emitting ptx module from compilation 2020-04-03 01:23:11 +02:00
Andrzej Janik
0e7338885b Parse more source stuff 2020-03-11 00:44:46 +01:00
Andrzej Janik
66e0323c66 Start parsing PTX text 2020-03-09 23:54:44 +01:00