vulkan: fix debug build (add_rms_len/data not found) (#16624)

This commit is contained in:
Jeff Bolz
2025-10-17 02:31:04 -05:00
committed by GitHub
parent 9ad4f1931e
commit b19491599d

View File

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