metal : add upscale (#20284)

This commit is contained in:
Georgi Gerganov
2026-03-09 16:45:11 +02:00
committed by GitHub
parent 344ee2a38a
commit ed0007aa32
5 changed files with 211 additions and 29 deletions
+2
View File
@@ -83,6 +83,7 @@
#define FC_UNARY 1200
#define FC_BIN 1300
#define FC_SUM_ROWS 1400
#define FC_UPSCALE 1500
// op-specific constants
#define OP_FLASH_ATTN_EXT_NQPSG 8
@@ -890,6 +891,7 @@ typedef struct {
float sf1;
float sf2;
float sf3;
float poffs;
} ggml_metal_kargs_upscale;
typedef struct {