Fix: added <limits>
```
common.cuh: In function 'const uint3 init_fastdiv_values(uint64_t)':
common.cuh:755:56: error: incomplete type 'std::numeric_limits<unsigned int>' used in nested name specifier
755 | GGML_ASSERT(d_64 <= std::numeric_limits<uint32_t>::max());
| ^~~
../ggml.h:283:30: note: in definition of macro 'GGML_ASSERT'
283 | #define GGML_ASSERT(x) if (!(x)) GGML_ABORT("GGML_ASSERT(%s) failed", #x)
| ^
```
This commit is contained in:
parent
e9898ddfb9
commit
155b78fbc2
|
|
@ -25,6 +25,7 @@
|
|||
#include <cassert>
|
||||
#include <cfloat>
|
||||
#include <cstdio>
|
||||
#include <limits>
|
||||
#include <string>
|
||||
#include <unordered_map>
|
||||
#include <vector>
|
||||
|
|
|
|||
Loading…
Reference in New Issue