Commit acdf7d9a authored by Casper's avatar Casper
Browse files

Define HALF_FLT_MAX

parent d6bd9db7
...@@ -16,7 +16,7 @@ https://github.com/NVIDIA/FasterTransformer/blob/main/src/fastertransformer/kern ...@@ -16,7 +16,7 @@ https://github.com/NVIDIA/FasterTransformer/blob/main/src/fastertransformer/kern
#include <float.h> #include <float.h>
#include <type_traits> #include <type_traits>
static const float HALF_FLT_MAX = 65504.F; #define HALF_FLT_MAX 65504.F
#define FINAL_MASK 0xffffffff #define FINAL_MASK 0xffffffff
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment