Remove extra comments
This commit is contained in:
parent
248f7a512f
commit
4ad0986123
|
|
@ -499,7 +499,6 @@ static void ggml_webgpu_set_rows(webgpu_context & ctx, ggml_tensor * src, ggml_t
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// allocate error bufs
|
|
||||||
webgpu_pool_bufs error_bufs = ctx->set_rows_error_buf_pool.alloc_bufs();
|
webgpu_pool_bufs error_bufs = ctx->set_rows_error_buf_pool.alloc_bufs();
|
||||||
if (error_bufs.host_buf.GetMapState() == wgpu::BufferMapState::Mapped) {
|
if (error_bufs.host_buf.GetMapState() == wgpu::BufferMapState::Mapped) {
|
||||||
error_bufs.host_buf.Unmap();
|
error_bufs.host_buf.Unmap();
|
||||||
|
|
|
||||||
|
|
@ -1212,8 +1212,7 @@ struct test_case {
|
||||||
|
|
||||||
double err = nmse(f1.data(), f2.data(), f1.size());
|
double err = nmse(f1.data(), f2.data(), f1.size());
|
||||||
if (err > ud->max_err) {
|
if (err > ud->max_err) {
|
||||||
//printf("Backends %s and %s mismatch: ", bn1, bn2);
|
printf("[%s] NMSE = %.9f > %.9f ", ggml_op_desc(t1), err, ud->max_err);
|
||||||
//printf("[%s] NMSE = %.9f > %.9f ", ggml_op_desc(t1), err, ud->max_err);
|
|
||||||
//for (int i = 0; i < (int) f1.size(); i++) {
|
//for (int i = 0; i < (int) f1.size(); i++) {
|
||||||
// printf("%5d %9.6f %9.6f, diff = %9.6f\n", i, f1[i], f2[i], f1[i] - f2[i]);
|
// printf("%5d %9.6f %9.6f, diff = %9.6f\n", i, f1[i], f2[i], f1[i] - f2[i]);
|
||||||
//}
|
//}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue