sycl : fixed compilation warnings (llama/13582)

This commit is contained in:
Łukasz Ślusarczyk 2025-05-16 12:15:29 +02:00 committed by Georgi Gerganov
parent 0c76acd08a
commit a8e17a244d

View File

@ -655,7 +655,6 @@ inline void ggml_sycl_op_sgn(ggml_backend_sycl_context & ctx, ggml_tensor * dst)
} }
default: default:
GGML_ABORT("GGML tensor type not supported!\n"); GGML_ABORT("GGML tensor type not supported!\n");
break;
} }
} }
@ -688,7 +687,6 @@ inline void ggml_sycl_op_abs(ggml_backend_sycl_context & ctx, ggml_tensor * dst)
} }
default: default:
GGML_ABORT("GGML tensor type not supported!\n"); GGML_ABORT("GGML tensor type not supported!\n");
break;
} }
} }
@ -722,7 +720,6 @@ inline void ggml_sycl_op_elu(ggml_backend_sycl_context & ctx, ggml_tensor * dst)
} }
default: default:
GGML_ABORT("GGML tensor type not supported!\n"); GGML_ABORT("GGML tensor type not supported!\n");
break;
} }
} }
@ -754,7 +751,6 @@ inline void ggml_sycl_op_silu(ggml_backend_sycl_context & ctx, ggml_tensor * dst
} }
default: default:
GGML_ABORT("GGML tensor type not supported!\n"); GGML_ABORT("GGML tensor type not supported!\n");
break;
} }
} }
@ -786,7 +782,6 @@ inline void ggml_sycl_op_gelu(ggml_backend_sycl_context & ctx, ggml_tensor * dst
} }
default: default:
GGML_ABORT("GGML tensor type not supported!\n"); GGML_ABORT("GGML tensor type not supported!\n");
break;
} }
} }
@ -818,7 +813,6 @@ inline void ggml_sycl_op_gelu_quick(ggml_backend_sycl_context & ctx, ggml_tensor
} }
default: default:
GGML_ABORT("GGML tensor type not supported!\n"); GGML_ABORT("GGML tensor type not supported!\n");
break;
} }
} }
@ -850,7 +844,6 @@ inline void ggml_sycl_op_tanh(ggml_backend_sycl_context & ctx, ggml_tensor * dst
} }
default: default:
GGML_ABORT("GGML tensor type not supported!\n"); GGML_ABORT("GGML tensor type not supported!\n");
break;
} }
} }
@ -883,7 +876,6 @@ inline void ggml_sycl_op_relu(ggml_backend_sycl_context & ctx, ggml_tensor * dst
} }
default: default:
GGML_ABORT("GGML tensor type not supported!\n"); GGML_ABORT("GGML tensor type not supported!\n");
break;
} }
} }
@ -917,7 +909,6 @@ inline void ggml_sycl_op_hardsigmoid(ggml_backend_sycl_context & ctx, ggml_tenso
} }
default: default:
GGML_ABORT("GGML tensor type not supported!\n"); GGML_ABORT("GGML tensor type not supported!\n");
break;
} }
} }
@ -949,7 +940,6 @@ inline void ggml_sycl_op_hardswish(ggml_backend_sycl_context & ctx, ggml_tensor
} }
default: default:
GGML_ABORT("GGML tensor type not supported!\n"); GGML_ABORT("GGML tensor type not supported!\n");
break;
} }
} }
@ -981,7 +971,6 @@ inline void ggml_sycl_op_exp(ggml_backend_sycl_context & ctx, ggml_tensor * dst)
} }
default: default:
GGML_ABORT("GGML tensor type not supported!\n"); GGML_ABORT("GGML tensor type not supported!\n");
break;
} }
} }
@ -1013,7 +1002,6 @@ inline void ggml_sycl_op_log(ggml_backend_sycl_context & ctx, ggml_tensor * dst)
} }
default: default:
GGML_ABORT("GGML tensor type not supported!\n"); GGML_ABORT("GGML tensor type not supported!\n");
break;
} }
} }
@ -1045,7 +1033,6 @@ inline void ggml_sycl_op_sigmoid(ggml_backend_sycl_context & ctx, ggml_tensor *
} }
default: default:
GGML_ABORT("GGML tensor type not supported!\n"); GGML_ABORT("GGML tensor type not supported!\n");
break;
} }
} }
@ -1078,7 +1065,6 @@ inline void ggml_sycl_op_sqrt(ggml_backend_sycl_context & ctx, ggml_tensor * dst
} }
default: default:
GGML_ABORT("GGML tensor type not supported!\n"); GGML_ABORT("GGML tensor type not supported!\n");
break;
} }
} }
@ -1110,7 +1096,6 @@ inline void ggml_sycl_op_sin(ggml_backend_sycl_context & ctx, ggml_tensor * dst)
} }
default: default:
GGML_ABORT("GGML tensor type not supported!\n"); GGML_ABORT("GGML tensor type not supported!\n");
break;
} }
} }
@ -1142,7 +1127,6 @@ inline void ggml_sycl_op_cos(ggml_backend_sycl_context & ctx, ggml_tensor * dst)
} }
default: default:
GGML_ABORT("GGML tensor type not supported!\n"); GGML_ABORT("GGML tensor type not supported!\n");
break;
} }
} }
@ -1174,7 +1158,6 @@ inline void ggml_sycl_op_step(ggml_backend_sycl_context & ctx, ggml_tensor * dst
} }
default: default:
GGML_ABORT("GGML tensor type not supported!\n"); GGML_ABORT("GGML tensor type not supported!\n");
break;
} }
} }
@ -1206,7 +1189,6 @@ inline void ggml_sycl_op_neg(ggml_backend_sycl_context & ctx, ggml_tensor * dst)
} }
default: default:
GGML_ABORT("GGML tensor type not supported!\n"); GGML_ABORT("GGML tensor type not supported!\n");
break;
} }
} }
@ -1241,7 +1223,6 @@ inline void ggml_sycl_op_leaky_relu(ggml_backend_sycl_context & ctx, ggml_tensor
} }
default: default:
GGML_ABORT("GGML tensor type not supported!\n"); GGML_ABORT("GGML tensor type not supported!\n");
break;
} }
} }
@ -1273,7 +1254,6 @@ inline void ggml_sycl_op_sqr(ggml_backend_sycl_context & ctx, ggml_tensor * dst)
} }
default: default:
GGML_ABORT("GGML tensor type not supported!\n"); GGML_ABORT("GGML tensor type not supported!\n");
break;
} }
} }
@ -1315,7 +1295,6 @@ inline void ggml_sycl_op_upscale(ggml_backend_sycl_context & ctx, ggml_tensor *
} }
default: default:
GGML_ABORT("GGML tensor type not supported!\n"); GGML_ABORT("GGML tensor type not supported!\n");
break;
} }
} }
@ -1350,7 +1329,6 @@ inline void ggml_sycl_op_pad(ggml_backend_sycl_context & ctx, ggml_tensor * dst)
} }
default: default:
GGML_ABORT("GGML tensor type not supported!\n"); GGML_ABORT("GGML tensor type not supported!\n");
break;
} }
} }
@ -1388,7 +1366,6 @@ inline void ggml_sycl_op_clamp(ggml_backend_sycl_context & ctx, ggml_tensor * ds
} }
default: default:
GGML_ABORT("GGML tensor type not supported!\n"); GGML_ABORT("GGML tensor type not supported!\n");
break;
} }
} }