Skip to content

Commit 61a38f8

Browse files
authored
Add #include <limits> to platform.h (PaddlePaddle#1121)
Closes PaddlePaddle#1118
1 parent ff61a49 commit 61a38f8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

include/cutlass/platform/platform.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
* (2) Re-implementations of STL functions and types:
5656
* - C++ features that need the \p __device__ annotation. These are
5757
* placed into the \p platform namespace.
58-
* - \p abs
58+
* - \p abs
5959
* - \p plus
6060
* - \p less
6161
* - \p greater
@@ -127,6 +127,7 @@
127127
#include <algorithm> // Minimum/maximum operations
128128
#include <cstddef> // nullptr_t
129129
#include <functional> // Arithmetic operations
130+
#include <limits> // float_round_style, float_denorm_style
130131
#include <utility> // For methods on std::pair
131132
#if (!defined(_MSC_VER) && (__cplusplus >= 201103L)) || (defined(_MSC_VER) && (_MS_VER >= 1500))
132133
#include <type_traits> // For integral constants, conditional metaprogramming, and type traits

0 commit comments

Comments
 (0)