mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2024-11-11 21:39:52 +00:00
fbf1ddec69
Signed-off-by: Jared Van Bortel <jared@nomic.ai> Co-authored-by: niansa <anton-sa@web.de> Co-authored-by: Adam Treat <treat.adam@gmail.com> Co-authored-by: Aaron Miller <apage43@ninjawhale.com> Co-authored-by: ToKiNoBug <tokinobug@163.com> Co-authored-by: Georgi Gerganov <ggerganov@gmail.com> Co-authored-by: slaren <slarengh@gmail.com>
23 lines
521 B
Plaintext
23 lines
521 B
Plaintext
layout(local_size_x_id = 0) in;
|
|
layout(local_size_y = 1) in;
|
|
layout(local_size_z = 1) in;
|
|
|
|
layout (binding = 0) readonly buffer tensorInA { uint8_t inA[]; };
|
|
layout (binding = 1) readonly buffer tensorInB { float inB[]; };
|
|
layout (binding = 2) writeonly buffer tensorOut { float out_[]; };
|
|
|
|
layout (push_constant) uniform parameter {
|
|
uint inAOff;
|
|
uint inBOff;
|
|
uint outOff;
|
|
int ne00;
|
|
int ne01;
|
|
int ne02;
|
|
int ne10;
|
|
int ne12;
|
|
int ne0;
|
|
int ne1;
|
|
uint r2;
|
|
uint r3;
|
|
} pcs;
|