Skip to content

Commit b194915

Browse files
authored
vulkan: fix debug build (add_rms_len/data not found) (ggml-org#16624)
1 parent 9ad4f19 commit b194915

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ggml/src/ggml-vulkan/vulkan-shaders/vulkan-shaders-gen.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -959,7 +959,7 @@ void write_output_files() {
959959
}
960960

961961
std::string suffixes[2] = {"_f32", "_f16"};
962-
for (auto op : {"add", "sub", "mul", "div", "add_rms"}) {
962+
for (std::string op : {"add", "sub", "mul", "div", "add_rms"}) {
963963
hdr << "extern const void * " << op << "_data[2][2][2][2];\n";
964964
hdr << "extern const uint64_t " << op << "_len[2][2][2][2];\n";
965965

0 commit comments

Comments
 (0)