Skip to content

Commit 1f8e4c0

Browse files
author
bssrdf
committed
make CI happy
1 parent 28e5cf6 commit 1f8e4c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ggml/src/ggml-cuda/cpy.cu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ void ggml_cuda_cpy(ggml_backend_cuda_context & ctx, const ggml_tensor * src0, gg
385385
char * src1_ddc = (char *) src1->data;
386386

387387
const bool contiguous_srcs = ggml_is_contiguous(src0) && ggml_is_contiguous(src1);
388-
const bool can_be_transposed = nb01 == ggml_element_size(src0) && src0->ne[3] == 1;
388+
const bool can_be_transposed = nb01 == (int64_t)ggml_element_size(src0) && src0->ne[3] == 1;
389389

390390
if (src0->type == src1->type && contiguous_srcs) {
391391
GGML_ASSERT(ggml_nbytes(src0) == ggml_nbytes(src1));

0 commit comments

Comments
 (0)