Skip to content

Commit 90a6f53

Browse files
authored
[SYCL] Replace this_nd_item with get_nd_item in khr_work_item_queries extension (#21751)
1 parent 21ea491 commit 90a6f53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sycl/include/sycl/khr/work_item_queries.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ inline namespace _V1 {
1616
namespace khr {
1717

1818
template <int Dimensions> nd_item<Dimensions> this_nd_item() {
19-
return ext::oneapi::experimental::this_nd_item<Dimensions>();
19+
return ext::oneapi::this_work_item::get_nd_item<Dimensions>();
2020
}
2121

2222
template <int Dimensions> group<Dimensions> this_group() {

0 commit comments

Comments
 (0)