]> git.djapps.eu Git - pkg/ggml/sources/ggml/commit
ggml : add circular tiling support to pad, for Vulkan, CUDA, and CPU (used for making...
authorPhylliida Dev <redacted>
Sat, 6 Dec 2025 14:07:02 +0000 (06:07 -0800)
committerGeorgi Gerganov <redacted>
Thu, 11 Dec 2025 13:32:58 +0000 (15:32 +0200)
commitfba011ed768560b667a775267d86dc9b2c97a237
treec1d06c5591668d1997692da2e443ce1f37e2d00c
parent6f370af5bc69abe270f37d275c9590281c85f651
ggml : add circular tiling support to pad, for Vulkan, CUDA, and CPU (used for making seamless textures) (llama/16985)

* Feat: Added vulkan circular tiling support

* Feat: Added cpu circular

* Feat: Added cuda kernels

* Added tests

* Added tests

* Removed non-pad operations

* Removed unneded changes

* removed backend non pad tests

* Update test-backend-ops.cpp

* Fixed comment on pad test

* removed trailing whitespace

* Removed unneded test in test-backend-ops

* Removed removed test from calls

* Update ggml/src/ggml-vulkan/vulkan-shaders/pad.comp

Co-authored-by: Ruben Ortlam <redacted>
* Fixed alignment

* Formatting

Co-authored-by: Aman Gupta <redacted>
* Format pad

* Format

* Clang format

* format

* format

* don't change so much stuff

* clang format and update to bool

* fix duplicates

* don't need to fix the padding

* make circular bool

* duplicate again

* rename vulkan to wrap around

* Don't need indent

* moved to const expr

* removed unneded extra line break

* More readable method calls

* Minor wording changes

* Added final newline

* Update ggml/include/ggml.h

Co-authored-by: Georgi Gerganov <redacted>
* Update ggml/include/ggml.h

Co-authored-by: Georgi Gerganov <redacted>
* Added circular pad ext tests

* Gate non circular pad devices

* Cleaned gating of non-circular pad devices

---------

Co-authored-by: Phylliida <redacted>
Co-authored-by: Ruben Ortlam <redacted>
Co-authored-by: Aman Gupta <redacted>
Co-authored-by: Georgi Gerganov <redacted>
include/ggml.h
src/ggml-cann/ggml-cann.cpp
src/ggml-cpu/ops.cpp
src/ggml-cuda/pad.cu
src/ggml-metal/ggml-metal-device.m
src/ggml-opencl/ggml-opencl.cpp
src/ggml-sycl/ggml-sycl.cpp
src/ggml-vulkan/ggml-vulkan.cpp
src/ggml-vulkan/vulkan-shaders/pad.comp
src/ggml.c
tests/test-backend-ops.cpp