Commit graph

350 commits

Author SHA1 Message Date
Andrzej Janik
90e65a46f1 Change the parser, attempt #1 2024-08-22 04:24:07 +02:00
Andrzej Janik
71e025845c Rename new crates 2024-08-21 20:00:22 +02:00
Andrzej Janik
0760c3d58f Map remaining instructions 2024-08-21 16:57:33 +02:00
Andrzej Janik
39faaa7214 Add atom and atom.cas 2024-08-21 15:46:06 +02:00
Andrzej Janik
c16bae32b5 Add rcp, sqrt, rsqrt 2024-08-21 03:38:43 +02:00
Andrzej Janik
fc713f2930 Add min, max 2024-08-21 03:19:45 +02:00
Andrzej Janik
798bbf06e1 Add fma and sub 2024-08-21 03:02:41 +02:00
Andrzej Janik
6cd18bfdb8 Add abs, mad 2024-08-21 02:45:52 +02:00
Andrzej Janik
588d66b236 Add cvta 2024-08-20 19:50:09 +02:00
Andrzej Janik
47f8314a5d Add shr, shl 2024-08-20 19:33:45 +02:00
Andrzej Janik
bc1074ed67 Add cvt 2024-08-20 17:59:39 +02:00
Andrzej Janik
c21c55dfc2 Parse call instruction 2024-08-20 03:53:18 +02:00
Andrzej Janik
34b0a67f0a Add types for call instruction 2024-08-20 02:58:58 +02:00
Andrzej Janik
22492ec7f1 Implement not, or, and, bra 2024-08-19 13:37:04 +02:00
Andrzej Janik
c08e6a6772 Implement setp 2024-08-19 02:23:26 +02:00
Andrzej Janik
cb64b04f41 Add mul 2024-08-18 23:27:07 +02:00
Andrzej Janik
522541d5c5 Support simple module variables 2024-08-18 18:28:00 +02:00
Andrzej Janik
77de5c7a15 Parse simplest vector add kernel 2024-08-18 03:45:09 +02:00
Andrzej Janik
91dbbb372b Move all types to a separate module 2024-08-16 18:29:13 +02:00
Andrzej Janik
0112880f27 Parse ld, add, ret 2024-08-16 16:02:26 +02:00
Andrzej Janik
0da45ea7d8 Add parsing of st, allow associating type with a non-alternative modifier 2024-08-15 22:24:53 +02:00
Andrzej Janik
ba17906de8 Pass parser state to instruction callbacks 2024-08-15 19:30:09 +02:00
Andrzej Janik
dbd37f97ad Clean up and improve ident parsing 2024-08-15 18:51:11 +02:00
Andrzej Janik
8d7c88c095 Fully parse operands 2024-08-15 03:26:38 +02:00
Andrzej Janik
a05bee9ccb Start rewriting PTX parser 2024-08-14 11:38:54 +02:00
Andrzej Janik
872054ae40 Fix linguist instructions 2024-08-07 13:29:03 +02:00
Andrzej Janik
90a1f77891 Update README 2024-08-06 16:32:23 +02:00
Andrzej Janik
164c172236 Clean up ZLUDA redirection helper 2022-02-04 14:14:51 +01:00
Andrzej Janik
2753d956df Overhaul DLL injection 2022-02-04 00:50:25 +01:00
Andrzej Janik
c869a0d611 Add tests for injecting into CLR process 2022-02-03 12:28:42 +01:00
Andrzej Janik
9923a36b76 Redo DLL injection 2022-02-01 23:57:36 +01:00
Andrzej Janik
89bc40618b Implement static typing for dynamically-loaded CUDA DLLs 2022-01-28 16:44:46 +01:00
Andrzej Janik
07aa1103aa Add OGL interop to cuda proc macros 2022-01-26 11:32:20 +01:00
Andrzej Janik
6f76c8b34c Fix crash when printing arrays 2022-01-08 18:44:59 +01:00
Andrzej Janik
2e56871643 Fix luid printing 2022-01-08 00:33:26 +01:00
Andrzej Janik
869efbe0e2 Move zluda_dump to the new CUDA infrastructure 2022-01-07 04:20:33 +01:00
Andrzej Janik
9390db962b Start converting everything to the new log formatting 2021-12-20 09:35:13 +01:00
Andrzej Janik
bdcef897cc Start converting zluda_dump logging to provide more detailed 2021-12-19 01:18:03 +01: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
7ba1586d6c Make all user errors recoverable 2021-12-13 17:20:06 +01:00
Andrzej Janik
04dbafaf4a Fix typo 2021-12-08 00:39:08 +01:00
Andrzej Janik
50e793e869 Improve logging of dumps 2021-12-08 00:29:00 +01:00
Andrzej Janik
dd915688bd Dump function names and allow overriding result of cuDeviceComputeCapability 2021-12-06 23:54:47 +01:00
Andrzej Janik
2c6d7ffb7a Fix remaining issues with detouring nvcuda 2021-12-05 23:01:46 +01:00
Andrzej Janik
26bf0eeaf2 Add more tests for CUDA redirection 2021-12-02 23:47:37 +01:00
Andrzej Janik
400feaf015 Add test for injecting app that directly uses nvcuda 2021-12-01 23:08:07 +01:00
Andrzej Janik
fd1c13560f Add failing test for overriding directly linked CUDA dll 2021-11-30 01:25:51 +01:00
Andrzej Janik
3558a0a65c Add integration tests for injector 2021-11-28 23:51:41 +01:00
Andrzej Janik
0104814ac3 Refactor ZLUDA redirection 2021-11-27 14:33:04 +01:00