-
Couldn't load subscription status.
- Fork 258
[ROCm] Adding ROCDL Dialect. #146
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! Thanks
|
The test failed on MacOS: |
|
hmm...same failure on Ubuntu as well, but test is passing for me locally looking into it further |
|
Still do not know the cause of the CI failures. My local runs pass, even the one I tried on a machine with no ROCm libraries installed! Hoping the CI failure was an anomaly and the re-run for the new commit passes. |
|
links to the CI failure logs from the first run Mac : https://source.cloud.google.com/results/invocations/f5be02e6-c7da-4c2e-b72a-0dc7c946b568/log Ubuntu : https://source.cloud.google.com/results/invocations/0ceb0d9a-d6c2-455a-b2ec-f55181683180/log |
I'm not a big believer in the cosmic ray effect here ;) Did you try the same configuration as the CI? ( |
|
Default is Here are the commands I am using to do the build and run I see that the |
|
that is not it either... |
|
How do I go about replicating exactly what the Ubuntu CI job is running? |
|
able to reproduce the error locally now. It is a looking into it |
|
found my bug, and fixed it. @joker-eph , I have squashed all my changes into one commit, and pushed it out. Please re-approve. thanks deven |
|
This PR is missing a test file
will push out these changes as a separate commit in the next PR (Lowering GPU Dialect to ROCDL Dialect), which will be filed once this one is merged. @joker-eph , let me know if you would rather have that change in this PR |
|
I rather have these in the current PR if you can push? |
This PR introduces the ROCDL Dialect (i.e. the ROCDL ops + the code to lower those ROCDL ops to LLWM intrinsics/functions). Think of ROCDL Dialect as analogous to the NVVM Dialect, but for AMD GPUs. This PR contains just the essentials needed to get a simple example up and running. We expect to make further additions to the ROCDL Dialect. This is the first of 3 PRs we will be filing. Once this PR is merged it will be followed by * a PR to add a pass that lowers GPU Dialect to ROCDL Dialect * a PR to add a "mlir-rocm-runner" utility
done. Please re-approve. thanks. |
This commit introduces the ROCDL Dialect (i.e. the ROCDL ops + the code to lower those ROCDL ops to LLWM intrinsics/functions). Think of ROCDL Dialect as analogous to the NVVM Dialect, but for AMD GPUs. This patch contains just the essentials needed to get a simple example up and running. We expect to make further additions to the ROCDL Dialect. This is the first of 3 commits, the follow-up will be: * add a pass that lowers GPU Dialect to ROCDL Dialect * add a "mlir-rocm-runner" utility Closes #146 COPYBARA_INTEGRATE_REVIEW=tensorflow/mlir#146 from deven-amd:deven-rocdl-dialect e78e8005c75a78912631116c78dc844fcc4b0de9 PiperOrigin-RevId: 271511259
This commit introduces the ROCDL Dialect (i.e. the ROCDL ops + the code to lower those ROCDL ops to LLWM intrinsics/functions). Think of ROCDL Dialect as analogous to the NVVM Dialect, but for AMD GPUs. This patch contains just the essentials needed to get a simple example up and running. We expect to make further additions to the ROCDL Dialect. This is the first of 3 commits, the follow-up will be: * add a pass that lowers GPU Dialect to ROCDL Dialect * add a "mlir-rocm-runner" utility Closes tensorflow/mlir#146 COPYBARA_INTEGRATE_REVIEW=tensorflow/mlir#146 from deven-amd:deven-rocdl-dialect e78e8005c75a78912631116c78dc844fcc4b0de9 PiperOrigin-RevId: 271511259
This PR introduces the ROCDL Dialect (i.e. the ROCDL ops + the code to lower those ROCDL ops to LLVM intrinsics/functions). Think of ROCDL Dialect as analogous to the NVVM Dialect, but for AMD GPUs. This PR contains just the essentials needed to get a simple example up and running. We expect to make further additions to the ROCDL Dialect.
This is the first of 3 PRs we will be filing. Once this PR is merged it will be followed by
Note: This PR is a follow-up on PR #63. It builds on the work done by @whchung in that PR, and addresses most of the review comments in that PR.
@whchung @joker-eph