Commit graph

  • 04a411fe22 Have an implementation for vprintf Andrzej Janik 2021-09-18 20:22:47 +00:00
  • ccf3c02ac1 Minor fixes Andrzej Janik 2021-09-18 01:36:12 +00:00
  • 3de01b3f8b Handle ld.volatile/st.volatile Andrzej Janik 2021-09-17 21:26:15 +00:00
  • d5a4b068dd Redo handling of sregs Andrzej Janik 2021-09-17 20:53:44 +00:00
  • 6ef19d6501 Add early support for more sregs Andrzej Janik 2021-09-17 18:31:12 +00:00
  • 5b2352723f Implement function pointers and activemask Andrzej Janik 2021-09-17 16:24:25 +00:00
  • c37223fe67 Set linking output Andrzej Janik 2021-09-17 01:25:34 +00:00
  • 62ce1fd3a9 Implement linking Andrzej Janik 2021-09-16 23:26:02 +00:00
  • 04394dbb04 Oops Andrzej Janik 2021-09-16 23:13:10 +00:00
  • 314e3dcb49 Add missing V-RAY host functions Andrzej Janik 2021-09-16 23:11:34 +00:00
  • ca0d8ec666 Add missing vray instructions Andrzej Janik 2021-09-16 01:25:09 +02:00
  • 467782b1d0 Fix some unhandled cases in cvt instruction Andrzej Janik 2021-09-14 23:38:06 +00:00
  • 2cd0fcb650 Parse and test const buffers Andrzej Janik 2021-09-14 22:41:46 +02:00
  • 986fa49097 Zero out buffer on creation Andrzej Janik 2021-09-13 23:43:50 +00:00
  • dbb6f09ffa Continue HIP conversion Andrzej Janik 2021-09-13 17:59:40 +00:00
  • e248a2c9a9 Dump modules passed for linking Andrzej Janik 2021-09-13 18:11:47 +02:00
  • 2f951fa04c Support more export table functions Andrzej Janik 2021-09-12 22:10:07 +02:00
  • 5290190727 Add support for a new export table Andrzej Janik 2021-09-12 15:12:26 +02:00
  • ab67cd46fc Fix dumping on x64 Linux (and possibly Windows) Andrzej Janik 2021-09-10 19:21:25 +02:00
  • da9cf4d583 Update tests, disable OpenCL-style shared mem conversion, emit linking information Andrzej Janik 2021-09-09 00:17:39 +00:00
  • a27d1e119f Merge commit 'e2fbdf7d7b78ee360fe5fcc13ed1a7cca727c921' into amd Andrzej Janik 2021-09-08 23:07:54 +02:00
  • e2fbdf7d7b Emit Execution mode for denorm flush Andrzej Janik 2021-09-08 23:05:52 +02:00
  • 18245be7d5 Make ptx unit tests run on AMD (except denormals) Andrzej Janik 2021-09-07 23:24:49 +00:00
  • 82510ce8fd Convert unit tests to HIP Andrzej Janik 2021-09-06 22:58:12 +02:00
  • a71cd44104 HIP conversion part #3 Andrzej Janik 2021-09-05 17:29:33 +02:00
  • a63f004540 HIP conversion part #2 Andrzej Janik 2021-09-05 14:58:15 +02:00
  • 5ec18f14a1 HIP conversion part #1 Andrzej Janik 2021-08-27 23:04:52 +00:00
  • 4ae7feb93a Start converting host code to HIP Andrzej Janik 2021-08-27 17:27:48 +00:00
  • 9631a8d242 Don't wait on a blocking event Andrzej Janik 2021-08-08 17:43:14 +02:00
  • e2432d0df1 Improve AMD compatibility Andrzej Janik 2021-08-08 14:26:56 +02:00
  • 043172bd9b Additional options to clang Andrzej Janik 2021-08-08 02:42:38 +02:00
  • 5969e59aae Explicitly mark input to AMD as bitcode Andrzej Janik 2021-08-08 02:35:17 +02:00
  • 4b4ba90219 Persist AMD kernels for later debug Andrzej Janik 2021-08-07 18:10:53 +02:00
  • 44decaf396 Use raw interop for building programs Andrzej Janik 2021-08-07 16:53:26 +02:00
  • 407664600a Hack to read clang output Andrzej Janik 2021-08-07 16:16:59 +02:00
  • 3ce6aee65d Try seeking before reading Andrzej Janik 2021-08-07 16:06:15 +02:00
  • 3070d983ab Take path to llvm-spirv from environment Andrzej Janik 2021-08-07 15:29:19 +02:00
  • fefdd528d5 Handle xnack suffix in device name Andrzej Janik 2021-08-07 15:21:45 +02:00
  • 20c9aa4f02 Fix warnings Andrzej Janik 2021-08-07 15:13:33 +02:00
  • 8d79c5d0f8 Addd missing file Andrzej Janik 2021-08-07 15:11:18 +02:00
  • a610136e17 Remove L0 from nvml Andrzej Janik 2021-08-07 15:11:08 +02:00
  • 479014a783 Wire up AMD compilation Andrzej Janik 2021-08-06 13:19:55 +02:00
  • 5bfc2a56b9 Remove all use of L0 Andrzej Janik 2021-08-06 02:15:57 +02:00
  • becda31524 Convert OpenCL host code to SVM Andrzej Janik 2021-08-04 19:34:56 +02:00
  • 638786b0ec Hack enough functionality that AMD GPU code builds Andrzej Janik 2021-08-03 00:22:47 +02:00
  • b4de21fbc5 Use calls to OpenCL builtins when translating sregs, do SPIRV->LLVM conversion on every build Andrzej Janik 2021-08-02 01:04:05 +02:00
  • 4a71fefb8a Change codegen for mul.wide Andrzej Janik 2021-08-01 19:20:08 +02:00
  • 8f68287b18 Tune generated code, add a workaround for geekbench Andrzej Janik 2021-07-25 15:19:43 +02:00
  • 9d4f26bd07 Finish converting to OpenCL Andrzej Janik 2021-07-22 00:20:33 +02:00
  • 3d2024bf62 Start converting to OpenCL Andrzej Janik 2021-07-21 01:46:50 +02:00
  • 58fb8a234c Synchronize through barrier Andrzej Janik 2021-07-06 00:16:46 +02:00
  • 2c6bee4955 Fix overzealus check Andrzej Janik 2021-07-05 01:14:46 +02:00
  • 1897d33916 Fix typo Andrzej Janik 2021-07-05 01:04:19 +02:00
  • 5b593ec185 Implement stream-wide event reuse Andrzej Janik 2021-07-04 19:06:37 +02:00
  • ce25035051 Use immediate command lists Andrzej Janik 2021-07-04 16:46:07 +02:00
  • ecc33f7b10 Make everything async Andrzej Janik 2021-07-04 15:40:08 +02:00
  • d76ffd691c Remember to actually submit workload Andrzej Janik 2021-07-04 13:24:35 +02:00
  • b460e359ae First attempt at async host side Andrzej Janik 2021-07-04 12:54:27 +02:00
  • ad2059872a Regenerate SPIR-V for ptx_impl and fix weird handling of ptr-ptr add or sub Andrzej Janik 2021-07-03 02:13:38 +02:00
  • e328ecc550 Be more correct when emitting brev, refactor inst->func call pass Andrzej Janik 2021-07-02 22:45:09 +02:00
  • 7d4fbedfcf Allow to set range of dump kernels Andrzej Janik 2021-06-30 23:56:15 +02:00
  • b2a455e12e Bunch of tiny fixes and improvements Andrzej Janik 2021-06-28 01:40:35 +02:00
  • 196242b410 Revert "Fix offset calculation in kernel launch" Andrzej Janik 2021-06-27 21:55:08 +02:00
  • 55fbe1abb5 Fix bugs related to replay on Linux Andrzej Janik 2021-06-27 16:19:04 +02:00
  • e89b0c5d9c Check for presence of ".version" instead of ".address_size" (which is optional) Andrzej Janik 2021-06-27 14:58:36 +02:00
  • d7d38256e0 Fix offset calculation in kernel launch Andrzej Janik 2021-06-27 13:08:46 +02:00
  • b2765370e5 Fix more bugs Andrzej Janik 2021-06-27 11:46:59 +02:00
  • 015d23b5ad Add missing import Andrzej Janik 2021-06-27 02:36:41 +02:00
  • 1c0deca9e4 Add missing pub qualifier Andrzej Janik 2021-06-27 02:35:33 +02:00
  • 23306e944b Fix build on Linux Andrzej Janik 2021-06-27 02:33:57 +02:00
  • 23874efe68 Allow ptr offsets to non-scalar types Andrzej Janik 2021-06-25 22:29:25 +02:00
  • 8ef6c3d8b6 Merge branch 'one_type_type2' Andrzej Janik 2021-06-25 01:20:38 +02:00
  • 2e8716bf0d Clean up warnings Andrzej Janik 2021-06-25 01:20:16 +02:00
  • 9a568e2969 Update tests Andrzej Janik 2021-06-25 01:08:45 +02:00
  • e018de83ae Prepare level zero and our compiler for global addressing Andrzej Janik 2021-06-20 12:13:40 +02:00
  • 951c7558cc Fix problems with non-dereferencing inline addition Andrzej Janik 2021-06-12 16:17:32 +02:00
  • 2198862e76 Fix handling of kernel args in stateful conversion Andrzej Janik 2021-06-11 12:36:23 +02:00
  • f0771e1fb6 Slightly improve stateful optimization Andrzej Janik 2021-06-11 00:00:56 +02:00
  • 994cfb3386 Fix small bug in stateful postprocess Andrzej Janik 2021-06-06 21:51:40 +02:00
  • 9ad88ac982 Make stateful optimization build Andrzej Janik 2021-06-06 18:14:49 +02:00
  • e940b9400f Bring back support for dynamic shared memory Andrzej Janik 2021-06-06 17:25:05 +02:00
  • 491e71e346 Make vector extraction honor relaxed implicit conversion semantics Andrzej Janik 2021-06-06 00:10:26 +02:00
  • 83ba70bf37 Remove last uses of new_todo Andrzej Janik 2021-06-05 01:15:36 +02:00
  • 90960fd923 Fix method arg load generation Andrzej Janik 2021-06-05 00:46:41 +02:00
  • f70abd065b Continue attempts at fixing code emission for method args Andrzej Janik 2021-06-04 00:48:51 +02:00
  • 2e6f7e3fdc Implement address-taking mov Andrzej Janik 2021-05-31 00:00:57 +02:00
  • 3d9a79c41e Re-enable relaxed conversions Andrzej Janik 2021-05-30 23:06:44 +02:00
  • 4091f658b2 Fix PtrAccess Andrzej Janik 2021-05-30 20:21:43 +02:00
  • 8d74c16c86 Refactor implicit conversions Andrzej Janik 2021-05-30 16:08:18 +02:00
  • 2fc7af0434 Fix level zero bindings Andrzej Janik 2021-05-28 00:14:45 +02:00
  • e40785aa74 Refactor L0 bindings Andrzej Janik 2021-05-27 02:05:17 +02:00
  • 58a7fe53c6 Emit Default impl for properties types Andrzej Janik 2021-05-23 16:05:32 +02:00
  • b3c73689a8 Update low-level Level Zero bindings Andrzej Janik 2021-05-23 14:47:15 +02:00
  • 89e72e4e95 Handle even more export table functions Andrzej Janik 2021-05-17 01:25:38 +02:00
  • dca4c5bd21 Report calls to unsupported exportad table functions Andrzej Janik 2021-05-16 01:08:59 +02:00
  • 82b5cef0bd Carry state space with pointer Andrzej Janik 2021-05-15 15:58:11 +02:00
  • 425edfcdd4 Simplify typing Andrzej Janik 2021-05-07 18:22:09 +02:00
  • 7f051ad20e Fix and test Andrzej Janik 2021-05-06 01:32:45 +02:00
  • 9d92a6e284 Start converting the translation to one type type Andrzej Janik 2021-05-05 22:56:58 +02:00
  • d51aaaf552 Throw away special variable types Andrzej Janik 2021-04-17 14:01:50 +02:00