Skip to content

Commit

Permalink
Promote Kokkos_Printf.hpp to public include
Browse files Browse the repository at this point in the history
  • Loading branch information
masterleinad committed Oct 12, 2023
1 parent bc83a89 commit 5518eb9
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion core/src/Kokkos_Abort.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#define KOKKOS_ABORT_HPP

#include <Kokkos_Macros.hpp>
#include <impl/Kokkos_Printf.hpp>
#include <Kokkos_Printf.hpp>
#ifdef KOKKOS_ENABLE_CUDA
#include <Cuda/Kokkos_Cuda_abort.hpp>
#endif
Expand Down
2 changes: 1 addition & 1 deletion core/src/Kokkos_Core_fwd.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
// and compiler environment then sets a collection of #define macros.

#include <Kokkos_Macros.hpp>
#include <Kokkos_Printf.hpp>
#include <impl/Kokkos_Error.hpp>
#include <impl/Kokkos_Printf.hpp>
#include <impl/Kokkos_Utilities.hpp>

#ifdef KOKKOS_ENABLE_DEPRECATED_CODE_3
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
//
//@HEADER

#ifndef KOKKOS_IMPL_PRINTF_HPP
#define KOKKOS_IMPL_PRINTF_HPP
#ifndef KOKKOS_PRINTF_HPP
#define KOKKOS_PRINTF_HPP

#include <Kokkos_Macros.hpp>

Expand Down Expand Up @@ -51,4 +51,4 @@ KOKKOS_FUNCTION void printf(const char* format, Args... args) {

} // namespace Kokkos

#endif /* #ifndef KOKKOS_IMPL_PRINTF_HPP */
#endif /* #ifndef KOKKOS_PRINTF_HPP */
2 changes: 1 addition & 1 deletion core/src/SYCL/Kokkos_SYCL_Abort.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#ifndef KOKKOS_SYCL_ABORT_HPP
#define KOKKOS_SYCL_ABORT_HPP

#include <impl/Kokkos_Printf.hpp>
#include <Kokkos_Printf.hpp>
#if defined(KOKKOS_ENABLE_SYCL)
// FIXME_SYCL
#if __has_include(<sycl/sycl.hpp>)
Expand Down

0 comments on commit 5518eb9

Please sign in to comment.