From 0de386b20ba968c4f4ce4a52fe638ec55c07d8af Mon Sep 17 00:00:00 2001 From: FiveMovesAhead Date: Thu, 15 Jan 2026 16:36:29 +0000 Subject: [PATCH] Remove prints --- tig-challenges/src/cur_decomposition/mod.rs | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/tig-challenges/src/cur_decomposition/mod.rs b/tig-challenges/src/cur_decomposition/mod.rs index 94804e59..164a89d9 100644 --- a/tig-challenges/src/cur_decomposition/mod.rs +++ b/tig-challenges/src/cur_decomposition/mod.rs @@ -310,8 +310,7 @@ impl Challenge { })?; } stream.synchronize()?; - let h_c_mat = stream.memcpy_dtov(&d_c_mat)?; - println!("C matrix: {:?}", &h_c_mat); + unsafe { stream .launch_builder(&extract_rows_kernel) @@ -332,8 +331,6 @@ impl Challenge { })?; } stream.synchronize()?; - let h_r_mat = stream.memcpy_dtov(&d_r_mat)?; - println!("R matrix: {:?}", &h_r_mat); let gemm_config = GemmConfig { transa: cublasOperation_t::CUBLAS_OP_N, // Don't transpose C @@ -348,14 +345,11 @@ impl Challenge { ldc: self.m, // Leading dim of CU }; - println!("Computing CU"); unsafe { cublas.gemm(gemm_config, &d_c_mat, &d_u_mat, &mut d_cu_mat)?; } stream.synchronize()?; - let h_cu_mat = stream.memcpy_dtov(&d_cu_mat)?; - println!("CU matrix: {:?}", &h_cu_mat); let gemm_config = GemmConfig { transa: cublasOperation_t::CUBLAS_OP_N, // Don't transpose @@ -374,8 +368,6 @@ impl Challenge { cublas.gemm(gemm_config, &d_cu_mat, &d_r_mat, &mut d_cur_mat)?; } stream.synchronize()?; - let h_cur_mat = stream.memcpy_dtov(&d_cur_mat)?; - println!("CUR matrix: {:?}", &h_cur_mat); // FIXME: Compute ||A - CUR||_F as kernel let cur_mat = stream.memcpy_dtov(&d_cur_mat)?;