Skip to content

Commit

Permalink
Add missing complex includes
Browse files Browse the repository at this point in the history
  • Loading branch information
msimberg committed Dec 18, 2024
1 parent fceb7c2 commit acf7afe
Show file tree
Hide file tree
Showing 81 changed files with 141 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/dlaf/auxiliary/norm/api.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
//
#pragma once

#include <complex>

#include <pika/execution.hpp>

#include <dlaf/communication/communicator_grid.h>
Expand Down
2 changes: 2 additions & 0 deletions include/dlaf/eigensolver/band_to_tridiag/api.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@

#pragma once

#include <complex>

#include <dlaf/matrix/matrix.h>
#include <dlaf/types.h>

Expand Down
2 changes: 2 additions & 0 deletions include/dlaf/eigensolver/bt_band_to_tridiag/api.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@

#pragma once

#include <complex>

#include <dlaf/communication/communicator_grid.h>
#include <dlaf/matrix/matrix.h>
#include <dlaf/matrix/matrix_ref.h>
Expand Down
2 changes: 2 additions & 0 deletions include/dlaf/eigensolver/bt_reduction_to_band/api.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
//
#pragma once

#include <complex>

#include <dlaf/matrix/matrix.h>
#include <dlaf/matrix/matrix_ref.h>
#include <dlaf/types.h>
Expand Down
2 changes: 2 additions & 0 deletions include/dlaf/eigensolver/eigensolver/api.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@

#pragma once

#include <complex>

#include <dlaf/blas/tile.h>
#include <dlaf/common/vector.h>
#include <dlaf/communication/communicator_grid.h>
Expand Down
2 changes: 2 additions & 0 deletions include/dlaf/eigensolver/gen_eigensolver/api.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
//
#pragma once

#include <complex>

#include <dlaf/communication/communicator_grid.h>
#include <dlaf/eigensolver/eigensolver/api.h>
#include <dlaf/matrix/matrix.h>
Expand Down
2 changes: 2 additions & 0 deletions include/dlaf/eigensolver/gen_to_std/api.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
//
#pragma once

#include <complex>

#include <dlaf/matrix/matrix.h>
#include <dlaf/types.h>

Expand Down
2 changes: 2 additions & 0 deletions include/dlaf/eigensolver/reduction_to_band/api.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@

#pragma once

#include <complex>

#include <pika/execution.hpp>

#include <dlaf/matrix/matrix.h>
Expand Down
2 changes: 2 additions & 0 deletions include/dlaf/eigensolver/tridiag_solver/api.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
//
#pragma once

#include <complex>

#include <dlaf/matrix/matrix.h>
#include <dlaf/types.h>

Expand Down
2 changes: 2 additions & 0 deletions include/dlaf/eigensolver/tridiag_solver/gpu/kernels.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@

#ifdef DLAF_WITH_GPU

#include <complex>

#include <whip.hpp>

#include <dlaf/eigensolver/tridiag_solver/coltype.h>
Expand Down
1 change: 1 addition & 0 deletions include/dlaf/eigensolver/tridiag_solver/impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

#include <algorithm>
#include <atomic>
#include <complex>
#include <sstream>
#include <tuple>
#include <utility>
Expand Down
2 changes: 2 additions & 0 deletions include/dlaf/eigensolver/tridiag_solver/kernels.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@

#pragma once

#include <complex>

#include <dlaf/common/callable_object.h>
#include <dlaf/eigensolver/tridiag_solver/coltype.h>
#include <dlaf/lapack/tile.h>
Expand Down
2 changes: 2 additions & 0 deletions include/dlaf/factorization/cholesky/api.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
//
#pragma once

#include <complex>

#include <dlaf/matrix/matrix.h>
#include <dlaf/types.h>

Expand Down
2 changes: 2 additions & 0 deletions include/dlaf/factorization/qr/api.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@

#pragma once

#include <complex>

#include <pika/execution.hpp>

#include <dlaf/communication/communicator_pipeline.h>
Expand Down
1 change: 1 addition & 0 deletions include/dlaf/gpu/blas/gpublas.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
/// Provides gpublas wrappers for BLAS operations.

#ifdef DLAF_WITH_GPU
#include <complex>
#include <cstddef>
#include <utility>

Expand Down
2 changes: 2 additions & 0 deletions include/dlaf/lapack/gpu/add.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@

#ifdef DLAF_WITH_GPU

#include <complex>

#include <blas.hh>
#include <whip.hpp>

Expand Down
2 changes: 2 additions & 0 deletions include/dlaf/lapack/gpu/lacpy.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@

#ifdef DLAF_WITH_GPU

#include <complex>

#include <blas.hh>
#include <whip.hpp>

Expand Down
2 changes: 2 additions & 0 deletions include/dlaf/lapack/gpu/larft.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@

#ifdef DLAF_WITH_GPU

#include <complex>

#include <blas.hh>
#include <whip.hpp>

Expand Down
2 changes: 2 additions & 0 deletions include/dlaf/lapack/gpu/laset.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@

#ifdef DLAF_WITH_GPU

#include <complex>

#include <blas.hh>
#include <whip.hpp>

Expand Down
1 change: 1 addition & 0 deletions include/dlaf/lapack/tile.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

/// @file

#include <complex>
#include <cstddef>
#include <utility>

Expand Down
1 change: 1 addition & 0 deletions include/dlaf/matrix/matrix.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

/// @file

#include <complex>
#include <cstddef>
#include <exception>
#include <utility>
Expand Down
1 change: 1 addition & 0 deletions include/dlaf/matrix/matrix_mirror.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

/// @file

#include <complex>
#include <exception>
#include <vector>

Expand Down
1 change: 1 addition & 0 deletions include/dlaf/matrix/matrix_ref.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

/// @file

#include <complex>
#include <utility>

#include <dlaf/matrix/distribution.h>
Expand Down
1 change: 1 addition & 0 deletions include/dlaf/matrix/print_numpy.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

/// @file

#include <complex>
#include <iostream>
#include <sstream>
#include <string>
Expand Down
1 change: 1 addition & 0 deletions include/dlaf/matrix/tile.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

/// @file

#include <complex>
#include <exception>
#include <memory>
#include <ostream>
Expand Down
1 change: 1 addition & 0 deletions include/dlaf/memory/memory_view.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

/// @file

#include <complex>
#include <cstdlib>
#include <memory>
#include <utility>
Expand Down
2 changes: 2 additions & 0 deletions include/dlaf/multiplication/general/api.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@

#pragma once

#include <complex>

#include <blas.hh>

#include <dlaf/common/index2d.h>
Expand Down
2 changes: 2 additions & 0 deletions include/dlaf/multiplication/hermitian/api.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
//
#pragma once

#include <complex>

#include <dlaf/matrix/matrix.h>
#include <dlaf/matrix/matrix_ref.h>
#include <dlaf/types.h>
Expand Down
2 changes: 2 additions & 0 deletions include/dlaf/multiplication/triangular/api.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
//
#pragma once

#include <complex>

#include <blas.hh>

#include <dlaf/matrix/matrix.h>
Expand Down
1 change: 1 addition & 0 deletions include/dlaf/permutations/general/perms.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

#ifdef DLAF_WITH_GPU

#include <complex>
#include <vector>

#include <whip.hpp>
Expand Down
2 changes: 2 additions & 0 deletions include/dlaf/solver/triangular/api.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
//
#pragma once

#include <complex>

#include <blas.hh>

#include <dlaf/matrix/matrix.h>
Expand Down
1 change: 1 addition & 0 deletions include/dlaf/util_matrix.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
#pragma once

#include <cmath>
#include <complex>
#include <cstddef>
#include <optional>
#include <random>
Expand Down
2 changes: 2 additions & 0 deletions include/dlaf/util_rocblas.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@

#ifdef DLAF_WITH_HIP

#include <complex>

#include <blas.hh>

#include <dlaf/gpu/blas/api.h>
Expand Down
2 changes: 2 additions & 0 deletions src/auxiliary/norm/mc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
// SPDX-License-Identifier: BSD-3-Clause
//

#include <complex>

#include <dlaf/auxiliary/norm/mc.h>

namespace dlaf::auxiliary::internal {
Expand Down
1 change: 1 addition & 0 deletions src/blas/scal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
// SPDX-License-Identifier: BSD-3-Clause
//

#include <complex>
#include <cstdint>

#include <blas/config.h>
Expand Down
2 changes: 2 additions & 0 deletions src/c_api/factorization/cholesky.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
// SPDX-License-Identifier: BSD-3-Clause
//

#include <complex>

#include <dlaf_c/factorization/cholesky.h>
#include <dlaf_c/utils.h>

Expand Down
2 changes: 2 additions & 0 deletions src/communication/datatypes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
// SPDX-License-Identifier: BSD-3-Clause
//

#include <complex>

#include <dlaf/communication/datatypes.h>

namespace dlaf {
Expand Down
2 changes: 2 additions & 0 deletions src/eigensolver/band_to_tridiag/mc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
// SPDX-License-Identifier: BSD-3-Clause
//

#include <complex>

#include <dlaf/eigensolver/band_to_tridiag/mc.h>

namespace dlaf::eigensolver::internal {
Expand Down
2 changes: 2 additions & 0 deletions src/eigensolver/bt_band_to_tridiag/mc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
// SPDX-License-Identifier: BSD-3-Clause
//

#include <complex>

#include <dlaf/eigensolver/bt_band_to_tridiag/impl.h>

namespace dlaf::eigensolver::internal {
Expand Down
2 changes: 2 additions & 0 deletions src/eigensolver/bt_reduction_to_band/gpu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
// SPDX-License-Identifier: BSD-3-Clause
//

#include <complex>

#include <dlaf/eigensolver/bt_reduction_to_band/impl.h>

namespace dlaf::eigensolver::internal {
Expand Down
2 changes: 2 additions & 0 deletions src/eigensolver/bt_reduction_to_band/mc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
// SPDX-License-Identifier: BSD-3-Clause
//

#include <complex>

#include <dlaf/eigensolver/bt_reduction_to_band/impl.h>

namespace dlaf::eigensolver::internal {
Expand Down
2 changes: 2 additions & 0 deletions src/eigensolver/eigensolver/gpu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
// SPDX-License-Identifier: BSD-3-Clause
//

#include <complex>

#include <dlaf/eigensolver/eigensolver/impl.h>

namespace dlaf::eigensolver::internal {
Expand Down
2 changes: 2 additions & 0 deletions src/eigensolver/eigensolver/mc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
// SPDX-License-Identifier: BSD-3-Clause
//

#include <complex>

#include <dlaf/eigensolver/eigensolver/impl.h>

namespace dlaf::eigensolver::internal {
Expand Down
2 changes: 2 additions & 0 deletions src/eigensolver/gen_eigensolver/gpu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
// SPDX-License-Identifier: BSD-3-Clause
//

#include <complex>

#include <dlaf/eigensolver/gen_eigensolver/impl.h>

namespace dlaf::eigensolver::internal {
Expand Down
2 changes: 2 additions & 0 deletions src/eigensolver/gen_eigensolver/mc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
// SPDX-License-Identifier: BSD-3-Clause
//

#include <complex>

#include <dlaf/eigensolver/gen_eigensolver/impl.h>

namespace dlaf::eigensolver::internal {
Expand Down
Loading

0 comments on commit acf7afe

Please sign in to comment.