Skip to content

Commit dfc5c0b

Browse files
committed
Revert max_threads to 256
1 parent c87dd7e commit dfc5c0b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ggml/src/ggml-sycl/set_rows.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,10 @@ static void set_rows_sycl(
6868
const size_t src_type_size, const size_t dst_type_size,
6969
queue_ptr stream) {
7070

71-
const int max_threads_per_row = 128; // KEEPING 128 for now
71+
const int max_threads_per_row = 256; // KEEPING 256 for now
7272
const int threads_per_row = std::min((int)ne00, max_threads_per_row);
7373

74-
const int max_threads_per_block = 128;
74+
const int max_threads_per_block = 256;
7575
const int rows_per_block = std::max(1, max_threads_per_block / threads_per_row);
7676

7777
const sycl::range<3> block_size(1, rows_per_block, threads_per_row);

0 commit comments

Comments
 (0)