use different restrict syntax, to make g++ happy.
This commit is contained in:
parent
2cf193efc0
commit
664a6025a1
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ extern "C"
|
|||
#endif
|
||||
|
||||
/* A forward declaration, to keep GCC happy. */
|
||||
void ggml_vec_dot_q5_K_q8_K(int n, float *restrict s, size_t bs, const void *restrict vx, size_t bx, const void *restrict vy, size_t by, int nrc);
|
||||
void ggml_vec_dot_q5_K_q8_K(int n, float * __restrict s, size_t bs, const void * __restrict vx, size_t bx, const void * __restrict vy, size_t by, int nrc);
|
||||
|
||||
// Define our vector types, with a default alignment.
|
||||
typedef float float32x16_t __attribute__((vector_size (64), aligned(64)));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue