User Details
- User Since
- May 29 2017, 6:23 AM (304 w, 5 d)
Jun 19 2020
Updated
This patch is related to https://github.com/tensorflow/mlir/issues/196, and the pass is based on https://github.com/google/clspv/blob/master/lib/RewriteInsertsPass.cpp
Jun 18 2020
LGTM! Thanks for simplifying this!
May 18 2020
May 16 2020
May 15 2020
Addressed review comments.
May 14 2020
May 13 2020
LGTM! Thanks!
May 8 2020
May 7 2020
Thanks! It fixes a build problem!
May 1 2020
Apr 30 2020
@antiagainst thanks for review, can you please take a look, to make sure I've updated the patch in right way. Thanks.
Addresses comments.
Rebase on master.
Remove new line.
Addresses comments.
Apr 29 2020
Apr 27 2020
Was fixed at https://reviews.llvm.org/D78934
Rebase on master.
Apr 22 2020
Addresses review comments.
@antiagainst thanks for review, updated!
Apr 21 2020
Apr 18 2020
Apr 16 2020
Apr 13 2020
@mravishankar thanks for review!
@antiagainst thanks for review!I'll fix it.
LGTM! Looks more pretty than it was, thanks!
Apr 11 2020
This patch is related to an issue https://bugs.llvm.org/show_bug.cgi?id=45392
Apr 10 2020
LGTM!
Apr 3 2020
@antiagainst thanks a lot for review! Sure, I would like to help!
Mar 31 2020
Mar 27 2020
Mar 26 2020
Mar 25 2020
LGTM! Thanks!
I'm currently have access only to "mobile" gpu "GeForce GTX 1050 Mobile":
Compute shader execution time: 15.360us
Command buffer submit time: 7us
Wait idle time: 155us
Mar 24 2020
Mar 18 2020
@mehdi_amini thanks, recently obtained it.
Mar 17 2020
Address review comments.
Mar 12 2020
Address review comments.
Fix LINT issues.
This patch eliminates VulkanLaunchOpOperandAdaptor and enables emitCWrappers while lowering to LLVM dialect. By doing this we follow the official guideline for calling convention https://mlir.llvm.org/docs/ConversionToLLVMDialect/#calling-convention.
emitCWrappers enables the following steps:
Mar 11 2020
@rriddle thanks for review, will address it in follow up pr.
Mar 10 2020
LGTM! Thanks!
Mar 5 2020
Address comments, sorry for delay.
Mar 2 2020
@antiagainst thanks a lot for detailed review! I'll update soon according to your suggestions, thanks!
Feb 28 2020
Rebase on master.
Feb 26 2020
Disable clang-diagnostic for include vulkan header file.
To eliminate static construction and desctruction of VulkanRuntimeManager, we need to instrument runtime calls with first argument as a generic pointer to VulkanRuntimeManager, but the setResource function based on std dialect, which fills the given memref with the given value, could not accept generic pointers, because std dialect does not have generic pointer types. So, to solve it, I added new pass which serializes spirv::Module to binary form appends it as a string attribute to vulkan launch call op. Erases all gpu.module and spirv::Module, so we can lower it to LLVM directly, then we instrument host part with runtime calls as before, but adding initVulkan, deinitVulkan calls and for each lowered memref we create call to bindResource according the current GPUToSPIRV convention (Each resource binds to 0 descriptor set and descriptor binding argument order lined up in argument order.
LGTM!
Feb 23 2020
Feb 20 2020
Since no users anymore for this patch, closing it :)
Feb 17 2020
Thanks, looking forward for the feedback from Lei.
Feb 14 2020
Rebased on master to trigger a rebuild.
Feb 13 2020
Addresses review comments.
Addresses review comments.
Addressed review comments.
Rebased on master.
Fix typo in comment.
Thanks a lot for review! I addressed comments related to pass in separate revision https://reviews.llvm.org/D74549 and will update mlir-vulkan-runner, VulkanRuntime as well.
Feb 11 2020
Added simple test to check GpuLaunchFuncToVulkanCalssPass.
Rebased on D74012.
Rebased on 5a1778 which changes MemRef calling convention.