From fe2a343d69a6668919a27d5be6ae161b1bbbc2ba Mon Sep 17 00:00:00 2001 From: Matthew Michel Date: Mon, 6 Apr 2026 06:25:29 -0700 Subject: [PATCH] Use new function names non-uniform group and tangle APIs Signed-off-by: Matthew Michel --- clang/runtime/dpct-rt/include/dpct/util.hpp | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/clang/runtime/dpct-rt/include/dpct/util.hpp b/clang/runtime/dpct-rt/include/dpct/util.hpp index b5b775ba770e..6b2a3bcf677a 100644 --- a/clang/runtime/dpct-rt/include/dpct/util.hpp +++ b/clang/runtime/dpct-rt/include/dpct/util.hpp @@ -602,12 +602,11 @@ T shift_sub_group_left(sycl::sub_group sg, T input, int delta, int last_item, return result; #else if ((1U << sg.get_local_linear_id()) & member_mask) { - auto inner = sycl::ext::oneapi::experimental::get_tangle_group(sg); + auto inner = sycl::ext::oneapi::experimental::entangle(sg); sycl::group_barrier(inner); } auto partition = - sycl::ext::oneapi::experimental::get_fixed_size_group( - sg); + sycl::ext::oneapi::experimental::chunked_partition(sg); int id = partition.get_local_linear_id(); T result = sycl::shift_group_left(partition, input, delta); if ((id + delta) > last_item) @@ -640,12 +639,11 @@ T shift_sub_group_right(sycl::sub_group sg, T input, int delta, int first_item, return result; #else if ((1U << sg.get_local_linear_id()) & member_mask) { - auto inner = sycl::ext::oneapi::experimental::get_tangle_group(sg); + auto inner = sycl::ext::oneapi::experimental::entangle(sg); sycl::group_barrier(inner); } auto partition = - sycl::ext::oneapi::experimental::get_fixed_size_group( - sg); + sycl::ext::oneapi::experimental::chunked_partition(sg); int id = sg.get_local_linear_id(); T result = sycl::shift_group_right(partition, input, delta); if ((id - first_item) < delta)