From 0e6963da8f062e70264857fb76226879d37e5a1b Mon Sep 17 00:00:00 2001 From: slaren Date: Wed, 17 Apr 2024 23:47:04 +0200 Subject: [PATCH] cuda : fix warnings --- ggml-cuda/binbcast.cu | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ggml-cuda/binbcast.cu b/ggml-cuda/binbcast.cu index ecddfc297..a85a9aaa9 100644 --- a/ggml-cuda/binbcast.cu +++ b/ggml-cuda/binbcast.cu @@ -146,10 +146,10 @@ struct bin_bcast_cuda { int64_t ne2 = cne[2]; int64_t ne3 = cne[3]; - int64_t ne00 = cne0[0]; - int64_t ne01 = cne0[1]; - int64_t ne02 = cne0[2]; - int64_t ne03 = cne0[3]; + int64_t ne00 = cne0[0]; GGML_UNUSED(ne00); + int64_t ne01 = cne0[1]; GGML_UNUSED(ne01); + int64_t ne02 = cne0[2]; GGML_UNUSED(ne02); + int64_t ne03 = cne0[3]; GGML_UNUSED(ne03); int64_t ne10 = cne1[0]; int64_t ne11 = cne1[1];