We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c6dedd commit b11fca6Copy full SHA for b11fca6
src/ATen/native/xpu/sycl/Indexing.cpp
@@ -1550,11 +1550,11 @@ struct IndexSelectSparse3Functor {
1550
index_t count,
1551
index_t offset,
1552
index_t first_match) const {
1553
- index_t* __restrict__ ptr_res_dim_indices_out =
+ index_t* RESTRICT ptr_res_dim_indices_out =
1554
ptr_res_dim_indices_ + offset;
1555
- const index_t* __restrict__ ptr_argsort_dim_indices_in =
+ const index_t* RESTRICT ptr_argsort_dim_indices_in =
1556
ptr_argsort_dim_indices_ + first_match;
1557
- index_t* __restrict__ ptr_selected_dim_indices_out =
+ index_t* RESTRICT ptr_selected_dim_indices_out =
1558
ptr_selected_dim_indices_ + offset;
1559
for (index_t i = 0; i < count; ++i) {
1560
*ptr_res_dim_indices_out++ = idx_idx;
0 commit comments