Skip to content

Commit

Permalink
Appying clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
lucbv committed Feb 27, 2024
1 parent d13455f commit 438e509
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions common/src/Kokkos_ArithTraits.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -285,12 +285,8 @@ namespace Kokkos {

// Macro to automate the wrapping of Kokkos Mathematical Functions
#define KOKKOSKERNELS_ARITHTRAITS_HALF_FP(FUNC_QUAL) \
static FUNC_QUAL val_type zero() { \
return static_cast<val_type>(0); \
} \
static FUNC_QUAL val_type one() { \
return static_cast<val_type>(1); \
} \
static FUNC_QUAL val_type zero() { return static_cast<val_type>(0); } \
static FUNC_QUAL val_type one() { return static_cast<val_type>(1); } \
static FUNC_QUAL val_type min() { \
return Kokkos::Experimental::finite_min<val_type>::value; \
} \
Expand Down

0 comments on commit 438e509

Please sign in to comment.