]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
ggml : add ggml_scale_bias (#14417)
authorXuan-Son Nguyen <redacted>
Wed, 9 Jul 2025 16:16:12 +0000 (18:16 +0200)
committerGitHub <redacted>
Wed, 9 Jul 2025 16:16:12 +0000 (18:16 +0200)
commit98bab638fb28cf95a5a66dd2d51b40d6c8f6d69a
tree9277457caf778b45119cbe2379f77347611e8ba5
parent26a48ad699d50b6268900062661bd22f3e792579
ggml : add ggml_scale_bias (#14417)

* ggml : add ggml_scale_bias

* ggml_vec_mad1_f32

* add more simd

* add CUDA

* sycl

* vulkan

* cann (placeholder)

* opencl

* will this fix cpu?

* fix cuda

* suggestions from coderabbit

* fix cann compile error

* vDSP_vsmsa

* rm __ARM_FEATURE_SVE

* use memcpy for op params

* make code looks more consistent

* use scalar for __ARM_FEATURE_SVE

* add x param to ggml_vec_mad1_f32
14 files changed:
ggml/include/ggml.h
ggml/src/ggml-cann/ggml-cann.cpp
ggml/src/ggml-cpu/ops.cpp
ggml/src/ggml-cpu/vec.h
ggml/src/ggml-cuda/scale.cu
ggml/src/ggml-metal/ggml-metal.m
ggml/src/ggml-metal/ggml-metal.metal
ggml/src/ggml-opencl/ggml-opencl.cpp
ggml/src/ggml-opencl/kernels/scale.cl
ggml/src/ggml-sycl/ggml-sycl.cpp
ggml/src/ggml-vulkan/ggml-vulkan.cpp
ggml/src/ggml-vulkan/vulkan-shaders/scale.comp
ggml/src/ggml.c
tests/test-backend-ops.cpp