From 8abf589c909911813454155c8ef51ecdfc659688 Mon Sep 17 00:00:00 2001 From: Anthony Scemama Date: Sun, 16 Jul 2023 13:16:11 +0200 Subject: [PATCH] Working --- devel/ccsd_gpu/gpu.c | 39 ++++++--------------------------------- 1 file changed, 6 insertions(+), 33 deletions(-) diff --git a/devel/ccsd_gpu/gpu.c b/devel/ccsd_gpu/gpu.c index 7cee7f7..ec8a100 100644 --- a/devel/ccsd_gpu/gpu.c +++ b/devel/ccsd_gpu/gpu.c @@ -94,7 +94,6 @@ void compute_r2_space_chol_gpu(const int nO, const int nV, const int cholesky_mo { double* d_tmp_cc_ = &(d_tmp_cc[gam*nV*cholesky_mo_num]); double* d_cc_space_v_vv_chol_ = &(d_cc_space_v_vv_chol[gam*nV*cholesky_mo_num]); -// double* cc_space_v_vv_chol_ = &(cc_space_v_vv_chol[gam*nV*cholesky_mo_num]); alpha = 1.0; beta = -1.0; @@ -103,13 +102,6 @@ void compute_r2_space_chol_gpu(const int nO, const int nV, const int cholesky_mo C = d_tmp_cc2 ; ldc = cholesky_mo_num; cublasDgeam(handle, CUBLAS_OP_N, CUBLAS_OP_N, cholesky_mo_num, nV, &alpha, A, lda, &beta, B, ldb, C, ldc); -/* - for (size_t l=0 ; l