-
Notifications
You must be signed in to change notification settings - Fork 96
[SYCLomatic] Enable Migration of meta_group_size() #2382
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
Conversation
ShengchenJ
left a comment
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.
LGTM
b9d0623 to
6753193
Compare
83820e9 to
6212331
Compare
ae8b88b to
9c1e9db
Compare
| cg::tiled_partition<2>(block).meta_group_size(); | ||
| // CHECK: catile2.get_local_linear_range(); | ||
| catile2.meta_group_size(); | ||
| // CHECK: atile2.get_local_linear_range(); |
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.
the meta_group_size means the group number after the partition in the CUDA docs(https://docs.nvidia.com/cuda/cuda-c-programming-guide/#coalesced-groups) but get_local_linear_range means the size of the work items in partitioned group.
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.
Yes mapping is changed. Please review , thanks
Used in llm.c
warp.meta_group_size()
cc @ShengchenJ @zhimingwang36 @yihanwg