From 56151bb875c225679a345f8109277f26e672db84 Mon Sep 17 00:00:00 2001 From: Concedo <39025047+LostRuins@users.noreply.github.com> Date: Mon, 12 Jun 2023 14:20:44 +0800 Subject: [PATCH] Replace uchar with uint8_t --- ggml-opencl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ggml-opencl.cpp b/ggml-opencl.cpp index 79e63c41f..35b385866 100644 --- a/ggml-opencl.cpp +++ b/ggml-opencl.cpp @@ -163,7 +163,7 @@ void convert_f16(__global half* x, const int ib, const int iqs, float* v0, float *v1 = vload_half(0, &x[ib + 1]); } -inline void get_scale_min_k4(int j, const __global uchar *q, uchar *d, uchar *m) { +inline void get_scale_min_k4(int j, const __global uint8_t *q, uint8_t *d, uint8_t *m) { if (j < 4) { *d = q[j] & 63; *m = q[j + 4] & 63;