Skip to content

Commit 5ef22d2

Browse files
authored
CUDA: non-contiguous src0 not supported for PAD (ggml-org#15869)
1 parent 233d773 commit 5ef22d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ggml/src/ggml-cuda/ggml-cuda.cu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3574,9 +3574,9 @@ static bool ggml_backend_cuda_device_supports_op(ggml_backend_dev_t dev, const g
35743574
case GGML_OP_SUM_ROWS:
35753575
case GGML_OP_MEAN:
35763576
case GGML_OP_GROUP_NORM:
3577+
case GGML_OP_PAD:
35773578
return ggml_is_contiguous(op->src[0]);
35783579
case GGML_OP_UPSCALE:
3579-
case GGML_OP_PAD:
35803580
case GGML_OP_PAD_REFLECT_1D:
35813581
case GGML_OP_ARANGE:
35823582
case GGML_OP_TIMESTEP_EMBEDDING:

0 commit comments

Comments
 (0)