Skip to content

Commit 21c5719

Browse files
authored
[NFC][libclc][libspirv] Move get_num_sub_groups.cl/get_sub_group_size.cl to generic (#16620)
Implementation is the same for ptx and amdgcn.
1 parent 711ed6e commit 21c5719

File tree

7 files changed

+2
-46
lines changed

7 files changed

+2
-46
lines changed

libclc/libspirv/lib/amdgcn-amdhsa/SOURCES

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,8 @@ workitem/get_global_size.cl
6464
workitem/get_local_size.cl
6565
workitem/get_num_groups.cl
6666
workitem/get_max_sub_group_size.cl
67-
workitem/get_num_sub_groups.cl
6867
workitem/get_sub_group_id.cl
6968
workitem/get_sub_group_local_id.cl
70-
workitem/get_sub_group_size.cl
7169
misc/sub_group_shuffle.cl
7270
async/wait_group_events.cl
7371
assert/__assert_fail.ll

libclc/libspirv/lib/generic/SOURCES

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,3 +206,5 @@ shared/vload.cl
206206
shared/vstore.cl
207207
workitem/get_global_id.cl
208208
workitem/get_global_size.cl
209+
workitem/get_num_sub_groups.cl
210+
workitem/get_sub_group_size.cl

libclc/libspirv/lib/ptx-nvidiacl/SOURCES

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,8 @@ workitem/get_local_id.cl
8484
workitem/get_local_size.cl
8585
workitem/get_max_sub_group_size.cl
8686
workitem/get_num_groups.cl
87-
workitem/get_num_sub_groups.cl
8887
workitem/get_sub_group_id.cl
8988
workitem/get_sub_group_local_id.cl
90-
workitem/get_sub_group_size.cl
9189
images/image_helpers.ll
9290
images/image.cl
9391
group/collectives_helpers.ll

libclc/libspirv/lib/ptx-nvidiacl/workitem/get_num_sub_groups.cl

Lines changed: 0 additions & 20 deletions
This file was deleted.

libclc/libspirv/lib/ptx-nvidiacl/workitem/get_sub_group_size.cl

Lines changed: 0 additions & 22 deletions
This file was deleted.

0 commit comments

Comments
 (0)