- User Since
- May 9 2020, 9:41 AM (19 w, 2 d)
Thu, Aug 27
I am building locally without these changes and it is working for me?
Rebased on the correct version of LowerHostToLLVMPass.
I will have a look at this one as well!
Added a missing change.
Fixed StringRef error.
Wed, Aug 26
Rebase against master.
Addressed comments and rebased on master to pick up committed patches.
Yes, only the pass converting gpu.launch_func and host code is needed. I am committing all accepted patches now :)
Fixed clang-tidy error.
Updated the runner based on the previous patches and added a test for 3D memrefs with floats.
Rebase on top of other patches and minor changes: variables/function names now keep __spv__ from SPIR-V module.
Tue, Aug 25
Fixed the clang-tidy error.
Rebased on top of the SPIR-V module name patch to include the symbol name of the module into the new name of the global variable.
Aug 22 2020
Aug 21 2020
Added missing file.
This is a big update to the pass structure. Now it is run after GPU to SPIR-V
conversion (and all ABI lowering, etc.). This allows to use SPIR-V module,
binds of global variables for kernel call emulation. Also, we can have multiple
kernels in the program (To fully run these the linking has to be updated).
Aug 20 2020
Added missing change.
Added a utilty function for kernel global variable lookup.
Combined 2 passes into 1.
Finding kernel module is the same for now (to be changed).
Renamed the runner to mlir-spirv-cpu-runner to resolve the ambiguity of where the runner is actually executed. Also, rebased on updated pass infrastructure.
Aug 19 2020
Fixed an error on building SPIR-V runner.
FYI, I made a post on the forum so it is easier to discuss this.
Aug 18 2020
Moved the library to tests. Documented the else case for llvmModuleBuilder in ExecutionEngine.h.
Removed unnecessary utility and added a CHECK-NEXT in entry point tests.
Aug 17 2020
Fixed a typo.
Splitted the patch.
Aug 11 2020
Aug 5 2020
Aug 4 2020
Added missing labels.
Put CHECK statements in one block.
- Put check statements in one block
- Added a diagram of the loop structure in LLVM
Fixed a typo
Aug 3 2020
Fixed a typo and handled linkage properly.
- Fixed a typo
- Changed linkage in globals accordingly
- Rewrote section on variable op special case (when there is scoping)