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

[MLIR][GEN] Define GEN dialect #87757

Closed
wants to merge 0 commits into from
Closed

Conversation

victor-eds
Copy link
Contributor

Define GEN dialect with the following operations:

  • gen.local_id to query a work-item's local id
  • gen.work_group_id to query the work-group's id
  • gen.work_group_size to query the work-group's size
  • gen.num_work_groups to query the number of work-groups
  • gen.barrier to insert a barrier
  • gen.sub_group_shuffle for different subgroup shuffles

Also define two conversion passes:

  • -convert-gen-to-spirv
  • -convert-gen-to-llvm

@victor-eds
Copy link
Contributor Author

This feature is no longer needed as #90972 implements similar functionality. Closing PR.

@victor-eds victor-eds closed this May 31, 2024
@victor-eds victor-eds deleted the gen-dialect branch May 31, 2024 15:50
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.

1 participant