diff --git a/cuda/solver/batch_bicgstab_launch.cuh b/cuda/solver/batch_bicgstab_launch.cuh index 6c56b6456a8..5106b21251e 100644 --- a/cuda/solver/batch_bicgstab_launch.cuh +++ b/cuda/solver/batch_bicgstab_launch.cuh @@ -2,6 +2,10 @@ // // SPDX-License-Identifier: BSD-3-Clause +#ifndef GKO_CUDA_SOLVER_BATCH_BICGSTAB_LAUNCH_CUH_ +#define GKO_CUDA_SOLVER_BATCH_BICGSTAB_LAUNCH_CUH_ + + #include "common/cuda_hip/base/batch_struct.hpp" #include "common/cuda_hip/base/config.hpp" #include "common/cuda_hip/base/types.hpp" @@ -110,3 +114,6 @@ void launch_apply_kernel( } // namespace cuda } // namespace kernels } // namespace gko + + +#endif diff --git a/cuda/solver/batch_cg_launch.cuh b/cuda/solver/batch_cg_launch.cuh index 7196d6f8366..9cb470eb51b 100644 --- a/cuda/solver/batch_cg_launch.cuh +++ b/cuda/solver/batch_cg_launch.cuh @@ -2,6 +2,10 @@ // // SPDX-License-Identifier: BSD-3-Clause +#ifndef GKO_CUDA_SOLVER_BATCH_CG_LAUNCH_CUH_ +#define GKO_CUDA_SOLVER_BATCH_CG_LAUNCH_CUH_ + + #include "common/cuda_hip/base/batch_struct.hpp" #include "common/cuda_hip/base/config.hpp" #include "common/cuda_hip/base/types.hpp" @@ -102,3 +106,6 @@ void launch_apply_kernel( } // namespace cuda } // namespace kernels } // namespace gko + + +#endif diff --git a/hip/solver/batch_bicgstab_launch.hip.hpp b/hip/solver/batch_bicgstab_launch.hip.hpp index 08d39b8fd5e..6ac09e91a76 100644 --- a/hip/solver/batch_bicgstab_launch.hip.hpp +++ b/hip/solver/batch_bicgstab_launch.hip.hpp @@ -2,6 +2,10 @@ // // SPDX-License-Identifier: BSD-3-Clause +#ifndef GKO_CUDA_SOLVER_BATCH_BICGSTAB_LAUNCH_HIP_HPP_ +#define GKO_CUDA_SOLVER_BATCH_BICGSTAB_LAUNCH_HIP_HPP_ + + #include "common/cuda_hip/base/batch_struct.hpp" #include "common/cuda_hip/base/config.hpp" #include "common/cuda_hip/base/types.hpp" @@ -76,3 +80,6 @@ void launch_apply_kernel( } // namespace hip } // namespace kernels } // namespace gko + + +#endif diff --git a/hip/solver/batch_cg_launch.hip.hpp b/hip/solver/batch_cg_launch.hip.hpp index a1e41310b8b..2413e8b1185 100644 --- a/hip/solver/batch_cg_launch.hip.hpp +++ b/hip/solver/batch_cg_launch.hip.hpp @@ -2,6 +2,10 @@ // // SPDX-License-Identifier: BSD-3-Clause +#ifndef GKO_CUDA_SOLVER_BATCH_CG_LAUNCH_HPP_ +#define GKO_CUDA_SOLVER_BATCH_CG_LAUNCH_HPP_ + + #include "common/cuda_hip/base/batch_struct.hpp" #include "common/cuda_hip/base/config.hpp" #include "common/cuda_hip/base/types.hpp" @@ -68,3 +72,6 @@ void launch_apply_kernel(std::shared_ptr exec, } // namespace hip } // namespace kernels } // namespace gko + + +#endif