Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BACKEND] Transformed TritonGPUToLLVMPass to TritonGPUToLLVM in amd backend #3328

Merged
merged 21 commits into from
Mar 11, 2024

Conversation

zahimoud
Copy link
Contributor

@zahimoud zahimoud commented Mar 8, 2024

Changes:

  • Extracted SPMD, Print, ControlFlow patterns to separate files
  • Deleted TritonGPUToLLVM
  • Renamed TritonGPUToLLVMPass to TritonGPUToLLVM
  • Extracted ControlFlow, and GetProgramId, FuncOp patterns to common lib

@zahimoud zahimoud requested a review from ThomasRaoux March 8, 2024 22:24
@zahimoud zahimoud marked this pull request as ready for review March 8, 2024 22:38
@zahimoud
Copy link
Contributor Author

zahimoud commented Mar 8, 2024

Running amd backend tests link

Copy link
Collaborator

@ThomasRaoux ThomasRaoux left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@zahimoud
Copy link
Contributor Author

  • Renamed targetInfo.llGetPid() to targetInfo.programId()
  • Moved back PrintOp pattern to nvidia's backend, deleted conversion from amd backend as it's currently not supported

@zahimoud zahimoud merged commit bcb9139 into main Mar 11, 2024
7 checks passed
@zahimoud zahimoud deleted the zahi/split branch March 11, 2024 17:17
htyu pushed a commit to htyu/triton that referenced this pull request Mar 20, 2024
…ackend (triton-lang#3328)

Changes:

- Extracted SPMD, Print, ControlFlow patterns to separate files
- Deleted TritonGPUToLLVM
- Renamed TritonGPUToLLVMPass to TritonGPUToLLVM
- Extracted ControlFlow, and GetProgramId, FuncOp patterns to common lib
karupayun pushed a commit to openxla/triton that referenced this pull request Apr 3, 2024
…ackend (triton-lang#3328)

Changes:

- Extracted SPMD, Print, ControlFlow patterns to separate files
- Deleted TritonGPUToLLVM
- Renamed TritonGPUToLLVMPass to TritonGPUToLLVM
- Extracted ControlFlow, and GetProgramId, FuncOp patterns to common lib
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