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 23b9e05 commit 0afd073Copy full SHA for 0afd073
ggml/src/ggml-sycl/set_rows.cpp
@@ -43,7 +43,7 @@ static void set_rows_sycl_q(
43
stream,
44
sycl::nd_range<1>(grid_size * block_size, block_size),
45
[=](sycl::nd_item<1> item_ct1) {
46
- const int64_t i = item_ct1.get_global_id(0);
+ const int64_t i = item_ct1.get_global_linear_id();
47
if (i >= total_blocks) return;
48
const int64_t i_base = i * qk;
49
const int64_t i03 = i_base / (ne00 * ne01 * ne02);
0 commit comments