Skip to content

Commit 4d19869

Browse files
CUDA/ROCm: Remove dead code (#1827)
* CUDA/ROCm: Remove dead code * more cleanup
1 parent 3c71007 commit 4d19869

File tree

9 files changed

+0
-1075
lines changed

9 files changed

+0
-1075
lines changed

csrc/kernels.cu

Lines changed: 0 additions & 497 deletions
Large diffs are not rendered by default.

csrc/kernels.cuh

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -112,13 +112,6 @@ __global__ void kdequant_mm_int32_fp16(
112112
template <typename T, int THREADS, int SPARSE_DECOMP>
113113
__global__ void kInt8VectorQuant(T* __restrict__ A, int8_t* out, float* rowStats, float threshold, int rows, int cols);
114114

115-
template <typename T, int BITS, int THREADS>
116-
__global__ void gemm_device(int M, int N, int K, T* __restrict__ const A, T* B, T* out, int lda, int ldb, int ldc);
117-
template <typename T, int THREADS>
118-
__global__ void kgemm_4bit_inference(
119-
int M, int N, int K, T* __restrict__ const A, unsigned char* B, float* absmax, T* out, int lda, int ldb, int ldc,
120-
int blocksize
121-
);
122115
template <typename T, int THREADS, int BITS>
123116
__global__ void kgemm_4bit_inference_naive(
124117
int M, int N, int K, T* __restrict__ const A, unsigned char* B, float* absmax, const float* datatype, T* out,

0 commit comments

Comments
 (0)