cuda : refactor into multiple files (#6269)

This commit is contained in:
slaren
2024-03-25 13:50:23 +01:00
committed by GitHub
parent ad3a0505e3
commit ae1f211ce2
59 changed files with 9154 additions and 8987 deletions

5
ggml-cuda/quantize.cuh Normal file
View File

@@ -0,0 +1,5 @@
#include "common.cuh"
#define CUDA_QUANTIZE_BLOCK_SIZE 256
void quantize_row_q8_1_cuda(const float * x, void * vy, const int kx, const int ky, const int kx_padded, cudaStream_t stream);