1
0
mirror of https://gitlab.com/scemama/qp_plugins_scemama.git synced 2024-12-21 20:03:37 +01:00

Fixed memory leak in CCSD GPU

This commit is contained in:
Anthony Scemama 2024-01-30 09:17:51 +01:00
parent 4d2adddbd9
commit ec08ab13be

View File

@ -2040,6 +2040,7 @@ void compute_r1_space_chol_gpu(gpu_data* data, int nO, int nV, double* t1, doubl
C=d_r1; ldc=nO;
cublasDgemm(handle, CUBLAS_OP_T, CUBLAS_OP_N, m, n, k, &alpha, A, lda, B, ldb, &beta, C, ldc);
cudaFree(d_W_oovo);
}
}