We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ec2b787 commit 3a5cd9dCopy full SHA for 3a5cd9d
1 file changed
ggml/src/ggml-sycl/add-id.cpp
@@ -56,7 +56,7 @@ void ggml_sycl_add_id(ggml_backend_sycl_context& ctx, ggml_tensor* dst) {
56
float* dst_d = (float*)dst->data;
57
58
const unsigned int max_work_group_size = ggml_sycl_info().max_work_group_sizes[ctx.device];
59
- assert(work_group_size % (WARP_SIZE * WARP_SIZE) == 0);
+ assert(max_work_group_size % (WARP_SIZE * WARP_SIZE) == 0);
60
61
int threads = std::min((unsigned int)ne00, max_work_group_size); // cols
62
0 commit comments