]> git.djapps.eu Git - pkg/ggml/sources/ggml/commit
vulkan: 64-bit im2col (llama/16135)
authorJeff Bolz <redacted>
Sun, 28 Sep 2025 06:38:37 +0000 (01:38 -0500)
committerGeorgi Gerganov <redacted>
Mon, 29 Sep 2025 09:41:09 +0000 (12:41 +0300)
commit3bfe5e9e20276de61ad29ac45407b9e527adf848
treec1e6099ad29e1e515d507e3d89a5837aebcba56f
parent70f554a0acc8d6af025b4e56e906baaefbed2733
vulkan: 64-bit im2col (llama/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
src/ggml-vulkan/ggml-vulkan.cpp
src/ggml-vulkan/vulkan-shaders/im2col.comp
src/ggml-vulkan/vulkan-shaders/im2col_3d.comp
src/ggml-vulkan/vulkan-shaders/types.comp
src/ggml-vulkan/vulkan-shaders/vulkan-shaders-gen.cpp
tests/test-backend-ops.cpp