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
1 changed files with 1 additions and 0 deletions

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);
}
}