Skip to content

Commit

Permalink
[NFC][libclc][libspirv] Move get_num_sub_groups.cl/get_sub_group_size…
Browse files Browse the repository at this point in the history
….cl to generic (#16620)

Implementation is the same for ptx and amdgcn.
  • Loading branch information
wenju-he authored Jan 14, 2025
1 parent 711ed6e commit 21c5719
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 46 deletions.
2 changes: 0 additions & 2 deletions libclc/libspirv/lib/amdgcn-amdhsa/SOURCES
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,8 @@ workitem/get_global_size.cl
workitem/get_local_size.cl
workitem/get_num_groups.cl
workitem/get_max_sub_group_size.cl
workitem/get_num_sub_groups.cl
workitem/get_sub_group_id.cl
workitem/get_sub_group_local_id.cl
workitem/get_sub_group_size.cl
misc/sub_group_shuffle.cl
async/wait_group_events.cl
assert/__assert_fail.ll
2 changes: 2 additions & 0 deletions libclc/libspirv/lib/generic/SOURCES
Original file line number Diff line number Diff line change
Expand Up @@ -206,3 +206,5 @@ shared/vload.cl
shared/vstore.cl
workitem/get_global_id.cl
workitem/get_global_size.cl
workitem/get_num_sub_groups.cl
workitem/get_sub_group_size.cl
2 changes: 0 additions & 2 deletions libclc/libspirv/lib/ptx-nvidiacl/SOURCES
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,8 @@ workitem/get_local_id.cl
workitem/get_local_size.cl
workitem/get_max_sub_group_size.cl
workitem/get_num_groups.cl
workitem/get_num_sub_groups.cl
workitem/get_sub_group_id.cl
workitem/get_sub_group_local_id.cl
workitem/get_sub_group_size.cl
images/image_helpers.ll
images/image.cl
group/collectives_helpers.ll
Expand Down
20 changes: 0 additions & 20 deletions libclc/libspirv/lib/ptx-nvidiacl/workitem/get_num_sub_groups.cl

This file was deleted.

22 changes: 0 additions & 22 deletions libclc/libspirv/lib/ptx-nvidiacl/workitem/get_sub_group_size.cl

This file was deleted.

0 comments on commit 21c5719

Please sign in to comment.