]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
vulkan: 64-bit im2col (#16135)
authorJeff Bolz <redacted>
Sun, 28 Sep 2025 06:38:37 +0000 (01:38 -0500)
committerGitHub <redacted>
Sun, 28 Sep 2025 06:38:37 +0000 (08:38 +0200)
commitd8359f5fde480da030bf75c7711573c7c4d993ba
treefdf3fef0217f6dc34161a559d6b5d01fbf45bdb4
parent6a2c6145a0b91b40eb3c3dba7b20ccc4b270490f
vulkan: 64-bit im2col (#16135)

* vulkan: 64-bit im2col

Add variants of the im2col shaders that use buffer_device_address/buffer_reference,
and use 64-bit address calculations. This is needed for large convolutions used in
stable-diffusion.cpp.

* fix validation error for large im2col
ggml/src/ggml-vulkan/ggml-vulkan.cpp
ggml/src/ggml-vulkan/vulkan-shaders/im2col.comp
ggml/src/ggml-vulkan/vulkan-shaders/im2col_3d.comp
ggml/src/ggml-vulkan/vulkan-shaders/types.comp
ggml/src/ggml-vulkan/vulkan-shaders/vulkan-shaders-gen.cpp
tests/test-backend-ops.cpp