Repository navigation
Adding hal.interface.workgroup.* ops. - #4149
Merged
Merged
Conversation
benvanik
force-pushed
the
benvanik-workgroups
branch
from
December 9, 2020 17:02
5d71eff to
5ff4a86
Compare
benvanik
marked this pull request as ready for review
December 9, 2020 17:05
benvanik
force-pushed
the
benvanik-workgroups
branch
3 times, most recently
from
December 9, 2020 19:53
6077677 to
54adc99
Compare
asaadaldien
reviewed
Dec 9, 2020
| auto newFuncOp = cast<LLVM::LLVMFuncOp>(rewriter.getBlock()->getParentOp()); | ||
| auto xyzTy = | ||
| LLVM::LLVMType::getInt32Ty(rewriter.getContext()).getPointerTo(); | ||
| auto xyzArgument = newFuncOp.getArgument(ArgIndex); |
Contributor
There was a problem hiding this comment.
Nice! this might be the only valid way to do this kind of conversion func() -> llvm.func(%fixed_args....).
Contributor
|
Looks good! just few tests to update |
benvanik
force-pushed
the
benvanik-workgroups
branch
from
December 9, 2020 22:43
54adc99 to
f6895cb
Compare
asaadaldien
approved these changes
Dec 9, 2020
| // ----- | ||
|
|
||
| // CHECK-LABEL: @interface_io_tensors | ||
| func @interface_io_tensors() { |
Contributor
There was a problem hiding this comment.
Nit: Wanna move these tests to a different commit in your stack ?
Collaborator
Author
There was a problem hiding this comment.
ah this is just moving them while touching the file - git absorb issues probably :) I'll just squash
This was referenced Dec 10, 2020
Closed
Closed
Merged
Merged
copybara-service Bot
pushed a commit
that referenced
this pull request
Dec 10, 2020
* 1b71cac Adding hal.interface.workgroup.* ops. (#4149) * 04b7c37 Add ctests for the tensorflow/e2e directory. * c3fc9a1 Remove all !r from python f-strings (#4157) * fdb88b9 improve tracy docs (#4117) * 204f652 Write the doc page on profiling cpu events (#4126) * 613efa8 Add build instructions to python getting started (#4153) * d889ac1 Revert "Fix missing f-string (#4150)" * aaa08b1 Enable dylib-llvm-aot tests and switch from testing JIT to AOT. (#3928) * cb1e46e Refactor and normalization of mhlo convolutions (#4113) * 0590b3c Fix missing f-string (#4150) * 2f7cab5 Check in BuildKite pipeline for android tests (#4137) * c195ae9 Fix types for std::min on MSVC. (#4148) * 5fefe30 Integrate MLIR-EmitC at iml130/mlir-emitc@a438d3b (#4145) * f03307d Fix ImGui function in iree-run-module-vulkan-gui-main. (#4147) COPYBARA_INTEGRATE_REVIEW=#4168 from hanhanW:main-to-google 7c443d3 PiperOrigin-RevId: 346812805
hanhanW
added a commit
that referenced
this pull request
Dec 10, 2020
* 1b71cac Adding hal.interface.workgroup.* ops. (#4149) * 04b7c37 Add ctests for the tensorflow/e2e directory. * c3fc9a1 Remove all !r from python f-strings (#4157) * fdb88b9 improve tracy docs (#4117) * 204f652 Write the doc page on profiling cpu events (#4126) * 613efa8 Add build instructions to python getting started (#4153) * d889ac1 Revert "Fix missing f-string (#4150)" * aaa08b1 Enable dylib-llvm-aot tests and switch from testing JIT to AOT. (#3928) * cb1e46e Refactor and normalization of mhlo convolutions (#4113) * 0590b3c Fix missing f-string (#4150) * 2f7cab5 Check in BuildKite pipeline for android tests (#4137) * c195ae9 Fix types for std::min on MSVC. (#4148) * 5fefe30 Integrate MLIR-EmitC at iml130/mlir-emitc@a438d3b (#4145) * f03307d Fix ImGui function in iree-run-module-vulkan-gui-main. (#4147) COPYBARA_INTEGRATE_REVIEW=#4168 from hanhanW:main-to-google 7c443d3 PiperOrigin-RevId: 346812805
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
hal.interface.workgroup.size will always return 1,1,1 at runtime today (until that is available) but a pass is added to propagate it as constant data when present on entry points.