@@ -258,7 +258,7 @@ void dngvd_op<std::complex<double>, base_device::DEVICE_GPU>::operator()(const b
258258
259259#ifdef __LCAO
260260template <>
261- void dnevx_op <double , base_device::DEVICE_GPU>::operator ()(const base_device::DEVICE_GPU* ctx,
261+ void heevx_op <double , base_device::DEVICE_GPU>::operator ()(const base_device::DEVICE_GPU* ctx,
262262 const int nstart,
263263 const int ldh,
264264 const double * _hcc,
@@ -271,14 +271,14 @@ void dnevx_op<double, base_device::DEVICE_GPU>::operator()(const base_device::DE
271271 std::vector<double > eigenvalue (ldh, 0 );
272272 hipErrcheck (hipMemcpy (hcc.data (), _hcc, sizeof (double ) * hcc.size (), hipMemcpyDeviceToHost));
273273 base_device::DEVICE_CPU* cpu_ctx = {};
274- dnevx_op <double , base_device::DEVICE_CPU>()(cpu_ctx, nstart, ldh, hcc.data (), m, eigenvalue.data (), vcc.data ());
274+ heevx_op <double , base_device::DEVICE_CPU>()(cpu_ctx, nstart, ldh, hcc.data (), m, eigenvalue.data (), vcc.data ());
275275 hipErrcheck (hipMemcpy (_vcc, vcc.data (), sizeof (double ) * vcc.size (), hipMemcpyHostToDevice));
276276 hipErrcheck (hipMemcpy (_eigenvalue, eigenvalue.data (), sizeof (double ) * eigenvalue.size (), hipMemcpyHostToDevice));
277277}
278278#endif // __LCAO
279279
280280template <>
281- void dnevx_op <std::complex <float >, base_device::DEVICE_GPU>::operator ()(const base_device::DEVICE_GPU* ctx,
281+ void heevx_op <std::complex <float >, base_device::DEVICE_GPU>::operator ()(const base_device::DEVICE_GPU* ctx,
282282 const int nstart,
283283 const int ldh,
284284 const std::complex <float >* _hcc,
@@ -291,7 +291,7 @@ void dnevx_op<std::complex<float>, base_device::DEVICE_GPU>::operator()(const ba
291291 std::vector<float > eigenvalue (ldh, 0 );
292292 hipErrcheck (hipMemcpy (hcc.data (), _hcc, sizeof (std::complex <float >) * hcc.size (), hipMemcpyDeviceToHost));
293293 base_device::DEVICE_CPU* cpu_ctx = {};
294- dnevx_op <std::complex <float >, base_device::DEVICE_CPU>()(cpu_ctx,
294+ heevx_op <std::complex <float >, base_device::DEVICE_CPU>()(cpu_ctx,
295295 nstart,
296296 ldh,
297297 hcc.data (),
@@ -303,7 +303,7 @@ void dnevx_op<std::complex<float>, base_device::DEVICE_GPU>::operator()(const ba
303303}
304304
305305template <>
306- void dnevx_op <std::complex <double >, base_device::DEVICE_GPU>::operator ()(const base_device::DEVICE_GPU* ctx,
306+ void heevx_op <std::complex <double >, base_device::DEVICE_GPU>::operator ()(const base_device::DEVICE_GPU* ctx,
307307 const int nstart,
308308 const int ldh,
309309 const std::complex <double >* _hcc,
@@ -316,7 +316,7 @@ void dnevx_op<std::complex<double>, base_device::DEVICE_GPU>::operator()(const b
316316 std::vector<double > eigenvalue (ldh, 0 );
317317 hipErrcheck (hipMemcpy (hcc.data (), _hcc, sizeof (std::complex <double >) * hcc.size (), hipMemcpyDeviceToHost));
318318 base_device::DEVICE_CPU* cpu_ctx = {};
319- dnevx_op <std::complex <double >, base_device::DEVICE_CPU>()(cpu_ctx,
319+ heevx_op <std::complex <double >, base_device::DEVICE_CPU>()(cpu_ctx,
320320 nstart,
321321 ldh,
322322 hcc.data (),
0 commit comments