We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20e429d commit 17cf6f8Copy full SHA for 17cf6f8
ggml/src/ggml-cuda/pad.cu
@@ -68,8 +68,6 @@ static void pad_f16_cuda(const half * x, half * dst,
68
69
void ggml_cuda_op_pad(ggml_backend_cuda_context & ctx, ggml_tensor * dst) {
70
const ggml_tensor * src0 = dst->src[0];
71
- const float * src0_d = (const float *)src0->data;
72
- float * dst_d = (float *)dst->data;
73
cudaStream_t stream = ctx.stream();
74
75
GGML_ASSERT(src0->type == GGML_TYPE_F32 || src0->type == GGML_TYPE_F16);
0 commit comments