Skip to content

Commit 2a823cd

Browse files
committed
fix CUDA compile
1 parent c3ecca2 commit 2a823cd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

source/module_hamilt_pw/hamilt_stodft/test/test_hamilt_sto.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ void hamilt::HamiltPW<T, Device>::sPsi(T const*, T*, const int, const int, const
2323

2424
template class hamilt::HamiltPW<std::complex<double>, base_device::DEVICE_CPU>;
2525
template class hamilt::HamiltPW<std::complex<float>, base_device::DEVICE_CPU>;
26+
template class hamilt::HamiltPW<std::complex<double>, base_device::DEVICE_GPU>;
27+
template class hamilt::HamiltPW<std::complex<float>, base_device::DEVICE_GPU>;
2628

2729
/************************************************
2830
* unit test of hamilt_sto_pw.cpp

0 commit comments

Comments
 (0)