-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Open
Description
Under Ubuntu LTS 24.04.3 I got the following compiler error:
/BitNet/src/ggml-bitnet-mad.cpp:811:18: error: cannot initialize a variable of type 'int8_t *' (aka 'signed char *') with an rvalue of type 'const int8_t *' (aka 'const signed char *')
811 | int8_t * y_col = y + col * by;
| ^ ~~~~~~~~~~~~
Using CLANG in v18.1.3 and CMAKE in v3.28.3 and GCC/G++ in v13.3.0 and Python in v3.12.3.
Needed to add "const":
811 | const int8_t * y_col = y + col * by;
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels