Skip to content

Commit 186d144

Browse files
committed
Fix CUDA test error
1 parent 2674706 commit 186d144

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

source/source_base/kernels/dsp/dsp_connector.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,8 @@ void zgemm_mth_(const char* transa,
290290
c,
291291
*ldc,
292292
cluster_id);
293-
293+
free_ht(alp);
294+
free_ht(bet);
294295
} // zgemm that needn't malloc_ht or free_ht
295296

296297
void cgemm_mth_(const char* transa,

source/source_estate/test/elecstate_base_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ ModulePW::PW_Basis::~PW_Basis()
6363
ModulePW::PW_Basis_Sup::~PW_Basis_Sup()
6464
{
6565
}
66-
ModulePW::FFT_Bundle::~FFT_Bundle() {};
66+
ModuleBase::FFT_Bundle::~FFT_Bundle() {};
6767
void ModulePW::PW_Basis::initgrids(double, ModuleBase::Matrix3, double)
6868
{
6969
}

0 commit comments

Comments
 (0)