]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
llama : define magic numbers as integer constants (#1518) (#1520)
authorJuuso Alasuutari <redacted>
Sat, 20 May 2023 12:58:15 +0000 (15:58 +0300)
committerGitHub <redacted>
Sat, 20 May 2023 12:58:15 +0000 (15:58 +0300)
commit29cf5596fe0c37213f9b74e80d8f631193a93f0f
tree453cbd193794ef983faca0e396853541e98f576f
parent3de84b26066d95068409c1dc79bcc41c1eea2a03
llama : define magic numbers as integer constants (#1518) (#1520)

The underlying representation of multibyte character literals is
implementation-defined. This could, at least in principle, cause
cross-build data export/import issues independent of endianness.

Define magic numbers as integer literals to be on the safe side.

Signed-off-by: Juuso Alasuutari <redacted>
llama.cpp
llama.h