Skip to content

Commit

Permalink
Adjust to latest ELPA naming convention
Browse files Browse the repository at this point in the history
`all_host_arrays` is now `a_h_a`
  • Loading branch information
toxa81 authored Dec 18, 2022
1 parent a8c9681 commit 69c0e85
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/linalg/eigenproblem.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -683,7 +683,7 @@ class Eigensolver_elpa : public Eigensolver
auto& mph = get_memory_pool(sddk::memory_t::host);
auto w = mph.get_unique_ptr<double>(matrix_size__);

elpa_eigenvectors_all_host_arrays_d(handle, A__.at(sddk::memory_t::host), w.get(), Z__.at(sddk::memory_t::host), &error);
elpa_eigenvectors_a_h_a_d(handle, A__.at(sddk::memory_t::host), w.get(), Z__.at(sddk::memory_t::host), &error);

elpa_deallocate(handle, &error);

Expand Down Expand Up @@ -751,7 +751,7 @@ class Eigensolver_elpa : public Eigensolver
using CT = double _Complex;
auto A_ptr = A__.size_local() ? (CT*)A__.at(sddk::memory_t::host) : nullptr;
auto Z_ptr = Z__.size_local() ? (CT*)Z__.at(sddk::memory_t::host) : nullptr;
elpa_eigenvectors_all_host_arrays_dc(handle, A_ptr, w.get(), Z_ptr, &error);
elpa_eigenvectors_a_h_a_dc(handle, A_ptr, w.get(), Z_ptr, &error);

elpa_deallocate(handle, &error);

Expand Down

0 comments on commit 69c0e85

Please sign in to comment.