From 625e8939d06b6e3c8c62264927835a9dfe7e857b Mon Sep 17 00:00:00 2001 From: Jinzhe Zeng Date: Tue, 26 Mar 2024 08:26:47 -0400 Subject: [PATCH] chore: remove incorrect memset TODOs (#3600) Fix #3556. Signed-off-by: Jinzhe Zeng --- source/lib/src/gpu/prod_env_mat.cu | 2 -- 1 file changed, 2 deletions(-) diff --git a/source/lib/src/gpu/prod_env_mat.cu b/source/lib/src/gpu/prod_env_mat.cu index a69e014272..e8909edb44 100644 --- a/source/lib/src/gpu/prod_env_mat.cu +++ b/source/lib/src/gpu/prod_env_mat.cu @@ -486,7 +486,6 @@ __global__ void compute_env_mat_a(FPTYPE* em, std[type[bid] * ndescrpt + idx_value + ii]; } } else { - // TODO: move it to the memset. row_descript[idx_value] -= avg[type[bid] * ndescrpt + idx_value] / std[type[bid] * ndescrpt + idx_value]; } @@ -562,7 +561,6 @@ __global__ void compute_env_mat_r(FPTYPE* em, row_em[idx_value] = (dd - avg[type[bid] * ndescrpt + idx_value]) / std[type[bid] * ndescrpt + idx_value]; } else { - // TODO: move it to the memset. row_em[idx_value] -= avg[type[bid] * ndescrpt + idx_value] / std[type[bid] * ndescrpt + idx_value]; }