Vulkan Shader Refactor, Memory Debugging Option (#7947)

* Refactor shaders, extract GLSL code from ggml_vk_generate_shaders.py into vulkan-shaders directory

* Improve debug log code

* Add memory debug output option

* Fix flake8

* Fix unnecessary high llama-3 VRAM use
This commit is contained in:
0cc4m 2024-06-16 07:17:31 +02:00 committed by GitHub
parent 0c7b3595b9
commit 7c7836d9d4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
54 changed files with 25266 additions and 21885 deletions

View file

@ -0,0 +1,9 @@
#extension GL_EXT_shader_16bit_storage : require
layout (push_constant) uniform parameter
{
uint KX;
uint KY;
float param1;
float param2;
} p;