Commit graph

48 commits

Author SHA1 Message Date
Andrzej Janik
2753d956df Overhaul DLL injection 2022-02-04 00:50:25 +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
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
400feaf015 Add test for injecting app that directly uses nvcuda 2021-12-01 23:08:07 +01:00
Andrzej Janik
a125b0746f Do full dumping from dark api module creation 2021-11-21 02:23:01 +01:00
Andrzej Janik
24e100cb9c Start converting cuModuleLoad to the new tracing infrastructure 2021-11-16 02:07:50 +01:00
Andrzej Janik
e459086c5b Now dump function calls 2021-11-14 02:25:51 +01:00
Andrzej Janik
dd7ced8b37 Create proper logging infrastructure 2021-11-12 00:31:40 +01:00
Andrzej Janik
e248a2c9a9 Dump modules passed for linking 2021-09-13 18:11:47 +02:00
Andrzej Janik
2f951fa04c Support more export table functions 2021-09-12 22:10:07 +02:00
Andrzej Janik
5290190727 Add support for a new export table 2021-09-12 15:12:26 +02:00
Andrzej Janik
ab67cd46fc Fix dumping on x64 Linux (and possibly Windows) 2021-09-10 19:21:25 +02:00
Andrzej Janik
8f68287b18 Tune generated code, add a workaround for geekbench 2021-07-25 15:19:43 +02:00
Andrzej Janik
1897d33916 Fix typo 2021-07-05 01:04:19 +02:00
Andrzej Janik
7d4fbedfcf Allow to set range of dump kernels 2021-06-30 23:56:15 +02:00
Andrzej Janik
b2a455e12e Bunch of tiny fixes and improvements 2021-06-28 01:40:35 +02:00
Andrzej Janik
196242b410 Revert "Fix offset calculation in kernel launch"
This reverts commit d7d38256e0.
2021-06-27 21:55:08 +02:00
Andrzej Janik
55fbe1abb5 Fix bugs related to replay on Linux 2021-06-27 16:19:04 +02:00
Andrzej Janik
e89b0c5d9c Check for presence of ".version" instead of ".address_size" (which is optional) 2021-06-27 14:58:36 +02:00
Andrzej Janik
d7d38256e0 Fix offset calculation in kernel launch 2021-06-27 13:08:46 +02:00
Andrzej Janik
8ef6c3d8b6 Merge branch 'one_type_type2' 2021-06-25 01:20:38 +02:00
Andrzej Janik
f0771e1fb6 Slightly improve stateful optimization 2021-06-11 00:00:56 +02:00
Andrzej Janik
89e72e4e95 Handle even more export table functions 2021-05-17 01:25:38 +02:00
Andrzej Janik
dca4c5bd21 Report calls to unsupported exportad table functions 2021-05-16 01:08:59 +02:00
Andrzej Janik
425edfcdd4 Simplify typing 2021-05-07 18:22:09 +02:00
Andrzej Janik
a005c92c61 Index from 0 2021-04-12 01:07:45 +02:00
Andrzej Janik
fedf88180a Dump all modules, even if not enqueued 2021-04-12 00:42:35 +02:00
Andrzej Janik
96f95d59ce Make zluda_dump more robust 2021-04-12 00:18:27 +02:00
Andrzej Janik
a39dda67d1 Make dumper compatible with older versions of CUDA 2021-04-10 23:01:01 +02:00
Andrzej Janik
8393dbd6e9 More fixes for 32bit 2021-04-09 22:00:23 +02:00
Andrzej Janik
9dcfb45aa2 Make dumper 32-bit compatible 2021-04-09 21:34:41 +02:00
Andrzej Janik
eec55d9d02 Inform about ELF binaries in dumper 2021-02-28 12:49:25 +01:00
Andrzej Janik
ba83bb28f7 Inject our own NVML 2021-02-28 01:50:04 +01:00
Andrzej Janik
bfae2e0d21 Allow overriding device compute version in dumper 2021-02-27 20:55:19 +01:00
Andrzej Janik
972f612562
Fix signed integer conversion (#36)
This fixes the last remaining bug preventing end-to-end GeekBench run, so also update Geekbench results in README
2021-01-26 21:05:09 +01:00
Andrzej Janik
3e2e73ac33 Add script for replaying dumped kernel (#34)
zluda_dump can already create traces of GPU execution, this script can replay those traces.
Additionally, changed added just enough code in core ZLUDA to support simple PyCUDAexecution
2021-01-23 16:57:07 +01:00
Andrzej Janik
ff8135e8a3
Add a library for dumping kernels arguments before and after launch (#18) 2021-01-16 22:28:48 +01:00