Skip to content

Initial Adding ROCM HAL Backend to Experimental - #5943

Merged
ThomasRaoux merged 1 commit into
iree-org:mainfrom
raikonenfnu:main
May 19, 2021
Merged

ThomasRaoux merged 1 commit into
iree-org:mainfrom
raikonenfnu:main

Conversation

@raikonenfnu

Copy link
Copy Markdown
Collaborator

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

@google-cla google-cla Bot added the cla: yes label 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
@ThomasRaoux
ThomasRaoux merged commit 4b31bd9 into iree-org:main May 19, 2021
@hanhanW hanhanW mentioned this pull request May 19, 2021
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants