Commit graph

329 commits

Author SHA1 Message Date
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
Andrzej Janik
5bfc2a56b9 Remove all use of L0 2021-08-06 02:15:57 +02:00
Andrzej Janik
becda31524 Convert OpenCL host code to SVM 2021-08-04 19:34:56 +02:00
Andrzej Janik
638786b0ec Hack enough functionality that AMD GPU code builds 2021-08-03 00:22:47 +02:00
Andrzej Janik
b4de21fbc5 Use calls to OpenCL builtins when translating sregs, do SPIRV->LLVM conversion on every build 2021-08-02 01:04:05 +02:00
Andrzej Janik
4a71fefb8a Change codegen for mul.wide 2021-08-01 19:20:08 +02:00
Andrzej Janik
8f68287b18 Tune generated code, add a workaround for geekbench 2021-07-25 15:19:43 +02:00
Andrzej Janik
9d4f26bd07 Finish converting to OpenCL 2021-07-22 00:20:33 +02:00
Andrzej Janik
3d2024bf62 Start converting to OpenCL 2021-07-21 01:46:50 +02:00
Andrzej Janik
58fb8a234c Synchronize through barrier 2021-07-06 00:16:46 +02:00
Andrzej Janik
2c6bee4955 Fix overzealus check 2021-07-05 01:14:46 +02:00
Andrzej Janik
1897d33916 Fix typo 2021-07-05 01:04:19 +02:00
Andrzej Janik
5b593ec185 Implement stream-wide event reuse 2021-07-04 19:06:37 +02:00
Andrzej Janik
ce25035051 Use immediate command lists 2021-07-04 16:46:07 +02:00
Andrzej Janik
ecc33f7b10 Make everything async 2021-07-04 15:40:08 +02:00
Andrzej Janik
d76ffd691c Remember to actually submit workload 2021-07-04 13:24:35 +02:00
Andrzej Janik
b460e359ae First attempt at async host side 2021-07-04 12:54:27 +02:00
Andrzej Janik
ad2059872a Regenerate SPIR-V for ptx_impl and fix weird handling of ptr-ptr add or sub 2021-07-03 02:13:38 +02:00