Skip to content

Commit

Permalink
use ppMacros
Browse files Browse the repository at this point in the history
  • Loading branch information
Angelyr committed Nov 15, 2024
1 parent d90d448 commit c67e439
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion support/ppPrint.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
#endif

#include <Kokkos_Core.hpp>
#include "ppMacros.h"

namespace pumipic {

Expand All @@ -23,7 +24,7 @@ namespace pumipic {
}

template<typename... Args>
__host__ __device__
PP_INLINE
void pPrintInfo(const char* fmt, const Args&... args) {
#if defined(SPDLOG_ENABLED) && defined(PP_PRINT_ENABLED) && !defined(ACTIVE_GPU_EXECUTION)
spdlog::info("{}", fmt::sprintf(fmt, args...));
Expand Down

0 comments on commit c67e439

Please sign in to comment.