Commit graph

346 commits

Author SHA1 Message Date
Andrzej Janik
dd7ced8b37 Create proper logging infrastructure 2021-11-12 00:31:40 +01:00
Andrzej Janik
816365e7df Fix shared munging pass and add fix cuModuleLoadData 2021-09-29 21:49:47 +00:00
Andrzej Janik
0172dc58e5 Redo shared memory transformation 2021-09-29 02:24:32 +02:00
Andrzej Janik
b763415006 Add CUDA tests showing problems with .shared unification 2021-09-27 00:42:10 +02:00
Andrzej Janik
c23be576e8 Finish fixing shared memory pass 2021-09-26 01:24:14 +02:00
Andrzej Janik
370c0bd09e Start implementing .shared unification 2021-09-24 01:31:50 +02:00
Andrzej Janik
9609f86033 Fix minor bugs 2021-09-19 00:39:43 +00:00
Andrzej Janik
afe9120868 Fix linkage 2021-09-18 22:49:00 +00:00
Andrzej Janik
04a411fe22 Have an implementation for vprintf 2021-09-18 20:22:47 +00:00
Andrzej Janik
ccf3c02ac1 Minor fixes 2021-09-18 01:36:12 +00:00
Andrzej Janik
3de01b3f8b Handle ld.volatile/st.volatile 2021-09-17 21:26:15 +00:00
Andrzej Janik
d5a4b068dd Redo handling of sregs 2021-09-17 20:53:44 +00:00
Andrzej Janik
6ef19d6501 Add early support for more sregs 2021-09-17 18:31:12 +00:00
Andrzej Janik
5b2352723f Implement function pointers and activemask 2021-09-17 16:24:25 +00:00
Andrzej Janik
c37223fe67 Set linking output 2021-09-17 01:25:34 +00:00
Andrzej Janik
62ce1fd3a9 Implement linking 2021-09-16 23:26:02 +00:00
Andrzej Janik
04394dbb04 Oops 2021-09-16 23:13:10 +00:00
Andrzej Janik
314e3dcb49 Add missing V-RAY host functions 2021-09-16 23:11:34 +00:00
Andrzej Janik
ca0d8ec666 Add missing vray instructions 2021-09-16 01:25:09 +02:00
Andrzej Janik
467782b1d0 Fix some unhandled cases in cvt instruction 2021-09-14 23:38:06 +00:00
Andrzej Janik
2cd0fcb650 Parse and test const buffers 2021-09-14 22:41:46 +02:00
Andrzej Janik
986fa49097 Zero out buffer on creation 2021-09-13 23:43:50 +00:00
Andrzej Janik
dbb6f09ffa Continue HIP conversion 2021-09-13 17:59:40 +00: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
da9cf4d583 Update tests, disable OpenCL-style shared mem conversion, emit linking information 2021-09-09 00:17:39 +00:00
Andrzej Janik
a27d1e119f Merge commit 'e2fbdf7d7b78ee360fe5fcc13ed1a7cca727c921' into amd 2021-09-08 23:07:54 +02:00
Andrzej Janik
e2fbdf7d7b Emit Execution mode for denorm flush 2021-09-08 23:05:52 +02:00
Andrzej Janik
18245be7d5 Make ptx unit tests run on AMD (except denormals) 2021-09-07 23:24:49 +00:00
Andrzej Janik
82510ce8fd Convert unit tests to HIP 2021-09-06 22:58:12 +02:00
Andrzej Janik
a71cd44104 HIP conversion part #3 2021-09-05 17:29:33 +02:00
Andrzej Janik
a63f004540 HIP conversion part #2 2021-09-05 14:58:15 +02:00
Andrzej Janik
5ec18f14a1 HIP conversion part #1 2021-08-27 23:04:52 +00:00
Andrzej Janik
4ae7feb93a Start converting host code to HIP 2021-08-27 17:27:48 +00:00
Andrzej Janik
9631a8d242 Don't wait on a blocking event 2021-08-08 17:43:14 +02:00
Andrzej Janik
e2432d0df1 Improve AMD compatibility 2021-08-08 14:26:56 +02:00
Andrzej Janik
043172bd9b Additional options to clang 2021-08-08 02:42:38 +02:00
Andrzej Janik
5969e59aae Explicitly mark input to AMD as bitcode 2021-08-08 02:35:17 +02:00
Andrzej Janik
4b4ba90219 Persist AMD kernels for later debug 2021-08-07 18:10:53 +02:00
Andrzej Janik
44decaf396 Use raw interop for building programs 2021-08-07 16:53:26 +02:00
Andrzej Janik
407664600a Hack to read clang output 2021-08-07 16:16:59 +02:00
Andrzej Janik
3ce6aee65d Try seeking before reading 2021-08-07 16:06:15 +02:00
Andrzej Janik
3070d983ab Take path to llvm-spirv from environment 2021-08-07 15:29:19 +02:00
Andrzej Janik
fefdd528d5 Handle xnack suffix in device name 2021-08-07 15:21:45 +02:00
Andrzej Janik
20c9aa4f02 Fix warnings 2021-08-07 15:13:33 +02:00
Andrzej Janik
8d79c5d0f8 Addd missing file 2021-08-07 15:11:18 +02:00
Andrzej Janik
a610136e17 Remove L0 from nvml 2021-08-07 15:11:08 +02:00
Andrzej Janik
479014a783 Wire up AMD compilation 2021-08-06 13:19:55 +02:00