Skip to content

Commit 4ad0986

Browse files
committed
Remove extra comments
1 parent 248f7a5 commit 4ad0986

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

ggml/src/ggml-webgpu/ggml-webgpu.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,6 @@ static void ggml_webgpu_set_rows(webgpu_context & ctx, ggml_tensor * src, ggml_t
499499
return;
500500
}
501501

502-
// allocate error bufs
503502
webgpu_pool_bufs error_bufs = ctx->set_rows_error_buf_pool.alloc_bufs();
504503
if (error_bufs.host_buf.GetMapState() == wgpu::BufferMapState::Mapped) {
505504
error_bufs.host_buf.Unmap();

tests/test-backend-ops.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1212,8 +1212,7 @@ struct test_case {
12121212

12131213
double err = nmse(f1.data(), f2.data(), f1.size());
12141214
if (err > ud->max_err) {
1215-
//printf("Backends %s and %s mismatch: ", bn1, bn2);
1216-
//printf("[%s] NMSE = %.9f > %.9f ", ggml_op_desc(t1), err, ud->max_err);
1215+
printf("[%s] NMSE = %.9f > %.9f ", ggml_op_desc(t1), err, ud->max_err);
12171216
//for (int i = 0; i < (int) f1.size(); i++) {
12181217
// printf("%5d %9.6f %9.6f, diff = %9.6f\n", i, f1[i], f2[i], f1[i] - f2[i]);
12191218
//}

0 commit comments

Comments
 (0)