Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions ggml/src/ggml-webgpu/wgsl-shaders/flash_attn.wgsl
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,9 @@ enable subgroups;
enable chromium_experimental_subgroup_matrix;

#define BYTE_HELPERS
#include "common_decls.tmpl"

#define FLASH_ATTN_SCALAR_KV
#include "flash_attn_decls.tmpl"
#include "common_decls.tmpl"

// Default values
// The actual values are defined in shader-lib.
Expand Down
2 changes: 1 addition & 1 deletion ggml/src/ggml-webgpu/wgsl-shaders/flash_attn_tile.wgsl
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ enable f16;
enable subgroups;

#define BYTE_HELPERS
#include "common_decls.tmpl"
#include "flash_attn_decls.tmpl"
#include "common_decls.tmpl"

// Default values
// The actual values are defined in shader-lib.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ enable f16;
enable subgroups;

#define BYTE_HELPERS
#include "common_decls.tmpl"
#define FLASH_ATTN_VEC_SPLIT
#include "flash_attn_decls.tmpl"
#include "common_decls.tmpl"

// Default values
// The actual values are defined in shader-lib.
Expand Down
Loading