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:
Jamaika1 2026-01-02 12:43:46 +01:00 committed by GitHub
parent e9898ddfb9
commit 155b78fbc2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -25,6 +25,7 @@
#include <cassert>
#include <cfloat>
#include <cstdio>
#include <limits>
#include <string>
#include <unordered_map>
#include <vector>