diff --git a/devel/ccsd_gpu/gpu.c b/devel/ccsd_gpu/gpu.c index fc407a6..ab2c8c6 100644 --- a/devel/ccsd_gpu/gpu.c +++ b/devel/ccsd_gpu/gpu.c @@ -12,7 +12,6 @@ void gpu_upload(gpu_data* data, double* t2) { int lda; - const int cholesky_mo_num = data->cholesky_mo_num; int ngpus = 1; if (MULTIGPU == 1) cudaGetDeviceCount(&ngpus); @@ -33,7 +32,7 @@ void gpu_upload(gpu_data* data, lda = nO*nO; cublasSetMatrix(nO*nO, nV*nV, sizeof(double), t2, lda, d_t2, lda); - int m,n,k, lda, ldb, ldc; + int lda, ldb, ldc; double alpha, beta; double* A; double* B; @@ -219,7 +218,6 @@ void compute_h_vo_chol_gpu(gpu_data* data, int igpu) double* d_t1 = data[igpu].t1; double* d_H_vo = data[igpu].H_vo; - double* d_tau_x = data[igpu].tau_x; double* d_cc_space_f_vo = data[igpu].cc_space_f_vo; double* d_cc_space_v_ov_chol = data[igpu].cc_space_v_ov_chol; double* d_cc_space_v_vo_chol = data[igpu].cc_space_v_vo_chol; @@ -430,9 +428,7 @@ void compute_r2_space_chol_gpu(gpu_data* data, int nO, int nV, double* t1, doubl double* d_cc_space_v_ovvo = data[igpu].cc_space_v_ovvo; double* d_cc_space_v_ovov = data[igpu].cc_space_v_ovov; double* d_cc_space_v_ovoo = data[igpu].cc_space_v_ovoo; - double* d_cc_space_f_oo = data[igpu].cc_space_f_oo; double* d_cc_space_f_vo = data[igpu].cc_space_f_vo; - double* d_cc_space_f_vv = data[igpu].cc_space_f_vv; double* d_tau = data[igpu].tau; double* d_t1 = data[igpu].t1; double* d_t2 = data[igpu].t2; @@ -2004,12 +2000,6 @@ double ccsd_energy_space_gpu(gpu_data* data) #pragma omp parallel num_threads(ngpus) { - int m,n,k, lda, ldb, ldc; - double alpha, beta; - double* A; - double* B; - double* C; - int igpu = omp_get_thread_num(); cudaSetDevice(igpu);