Skip to content

Commit

Permalink
update control flow
Browse files Browse the repository at this point in the history
  • Loading branch information
A-006 committed Jan 23, 2025
1 parent 51756fd commit 9549092
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion source/module_basis/module_pw/module_fft/fft_bundle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ void FFT_Bundle::initfft(int nx_in,
ModuleBase::WARNING_QUT("device","now dsp fft is not support for the float type");
fft_double=make_unique<FFT_DSP<double>>();
fft_double->initfft(nx_in,ny_in,nz_in);
#endif
#else
fft_float = make_unique<FFT_CPU<float>>(this->fft_mode);
fft_double = make_unique<FFT_CPU<double>>(this->fft_mode);
if (float_flag)
Expand Down Expand Up @@ -101,6 +101,7 @@ void FFT_Bundle::initfft(int nx_in,
gamma_only_in,
xprime_in);
}
#endif
}
if (device=="gpu")
{
Expand Down
1 change: 0 additions & 1 deletion source/module_basis/module_pw/module_fft/fft_dsp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ void FFT_DSP<double>::setupFFT()
PLAN* ptr_plan_forward;
PLAN* ptr_plan_backward;
INT num_thread=8;

INT size;
//open cluster id
hthread_dev_open(cluster_id);
Expand Down

0 comments on commit 9549092

Please sign in to comment.