Repository navigation
Initial Adding ROCM HAL Backend to Experimental - #5943
Merged
Merged
Conversation
ThomasRaoux
approved these changes
May 18, 2021
Initial pass to integrate ROCm in to IREE so that we can Codegen and run on AMDGPUs. Following steps similar to thomasraoux's CUDA backend. Since ROCm do not have graph or CommandBuffer by default, we implement ROCm's command buffer using stream API to default stream. Tested out and pass most CTS tests except: semaphore_submission_test + semaphore_test-> some functionalities not implemented for rocm backend yet command_buffer_test -> CommandBufferTest.CopySubBuffer In the next patch: -Complete semaphore functionality -Squash CommandBuffer bugs
Merged
copybara-service Bot
pushed a commit
that referenced
this pull request
May 19, 2021
* 367468b Fix tests for shift operations (#5952) * 577d9d9 Integrate MLIR-EmitC at iml130/mlir-emitc@0b9d50b (#5936) * b5f3dda Add attribute to capture lowering configuration. (#5842) * 4b31bd9 Initial Adding ROCM HAL Backend to Experimental (#5943) * 3bdcea8 Merge google -> main (#5947) * 90368f1 Remove file left during renaming from LinagToNVVM to LinalgToLLVMGPU (#5940) COPYBARA_INTEGRATE_REVIEW=#5954 from hanhanW:main-to-google 367468b PiperOrigin-RevId: 374687876
iree-github-actions-bot
pushed a commit
that referenced
this pull request
May 19, 2021
* 367468b Fix tests for shift operations (#5952) * 577d9d9 Integrate MLIR-EmitC at iml130/mlir-emitc@0b9d50b (#5936) * b5f3dda Add attribute to capture lowering configuration. (#5842) * 4b31bd9 Initial Adding ROCM HAL Backend to Experimental (#5943) * 3bdcea8 Merge google -> main (#5947) * 90368f1 Remove file left during renaming from LinagToNVVM to LinalgToLLVMGPU (#5940) PiperOrigin-RevId: 374687876
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.
Initial pass to integrate ROCm in to IREE so that we can Codegen and run on AMDGPUs. Following steps similar to thomasraoux's CUDA backend. Since ROCm do not have graph or CommandBuffer by default, we implement ROCm's command buffer using stream API to default stream. Tested out and pass most CTS tests except:
semaphore_submission_test + semaphore_test-> some functionalities not implemented for rocm backend yet
command_buffer_test -> CommandBufferTest.CopySubBuffer
In the next patch:
-Complete semaphore functionality
-Squash CommandBuffer bugs