Skip to content

Commit 0f2a62c

Browse files
removed obsolete code
1 parent 7f58232 commit 0f2a62c

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

ggml-cuda.cu

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1371,24 +1371,6 @@ static __device__ __forceinline__ float vec_dot_q8_0_q8_1(const void * __restric
13711371
#endif // __CUDA_ARCH__ >= 600
13721372
}
13731373

1374-
static __device__ __forceinline__ float dequantize_1_q4_0(const void * vx, const int i){
1375-
const block_q4_0 * x = (const block_q4_0 *) vx;
1376-
const int ib = i / QK4_0;
1377-
1378-
const float d = x[ib].d;
1379-
1380-
const int iqs0 = i % QK4_0;
1381-
const int shift = iqs0 / (QK4_0/QR4_0);
1382-
const int iqs = iqs0 - shift * (QK4_0/QR4_0);
1383-
1384-
int vi = x[ib].qs[iqs];
1385-
1386-
vi >>= 4 * shift;
1387-
vi &= 0xF;
1388-
1389-
return (vi - 8) * d;
1390-
}
1391-
13921374
static __global__ void mul_mat_q(
13931375
const void * __restrict__ vx, const void * __restrict__ vy, float * __restrict__ dst,
13941376
const int ncols_x, const int nrows_x, const int ncols_y, const int nrows_dst) {

0 commit comments

Comments
 (0)