Loading pkgs/development/rocm-modules/6/hipblaslt/default.nix +3 −0 Original line number Diff line number Diff line Loading @@ -111,6 +111,9 @@ stdenv.mkDerivation (finalAttrs: { # Support loading zstd compressed .dat files, required to keep output under # hydra size limit ./messagepack-compression-support.patch # excessive comments are written to temporary asm files in build dir # TODO: report upstream, find a better solution ./reduce-comment-spam.patch ]; postPatch = '' Loading pkgs/development/rocm-modules/6/hipblaslt/reduce-comment-spam.patch 0 → 100644 +47 −0 Original line number Diff line number Diff line diff --git a/projects/hipblaslt/tensilelite/rocisa/rocisa/include/format.hpp b/projects/hipblaslt/tensilelite/rocisa/rocisa/include/format.hpp index b7dcb6f59a..b0625ba769 100644 --- a/tensilelite/rocisa/rocisa/include/format.hpp +++ b/tensilelite/rocisa/rocisa/include/format.hpp @@ -8,11 +8,13 @@ namespace rocisa // Text format functions inline std::string slash(const std::string& comment) { + return ""; return "// " + comment + "\n"; } inline std::string slash50(const std::string& comment) { + return ""; std::ostringstream oss; oss << std::setw(50) << "" << " // " << comment << "\n"; @@ -21,16 +23,19 @@ namespace rocisa inline std::string block(const std::string& comment) { + return ""; return "/* " + comment + " */\n"; } inline std::string blockNewLine(const std::string& comment) { + return ""; return "\n/* " + comment + " */\n"; } inline std::string block3Line(const std::string& comment) { + return ""; std::ostringstream oss; oss << "\n/******************************************/\n"; std::istringstream iss(comment); @@ -52,7 +57,7 @@ namespace rocisa { formattedStr = "\"" + formattedStr + "\\n\\t\""; } - if(!comment.empty()) + if(false) { std::string buffer = formattedStr + std::string(std::max(0, 50 - int(formattedStr.length())), ' ') Loading
pkgs/development/rocm-modules/6/hipblaslt/default.nix +3 −0 Original line number Diff line number Diff line Loading @@ -111,6 +111,9 @@ stdenv.mkDerivation (finalAttrs: { # Support loading zstd compressed .dat files, required to keep output under # hydra size limit ./messagepack-compression-support.patch # excessive comments are written to temporary asm files in build dir # TODO: report upstream, find a better solution ./reduce-comment-spam.patch ]; postPatch = '' Loading
pkgs/development/rocm-modules/6/hipblaslt/reduce-comment-spam.patch 0 → 100644 +47 −0 Original line number Diff line number Diff line diff --git a/projects/hipblaslt/tensilelite/rocisa/rocisa/include/format.hpp b/projects/hipblaslt/tensilelite/rocisa/rocisa/include/format.hpp index b7dcb6f59a..b0625ba769 100644 --- a/tensilelite/rocisa/rocisa/include/format.hpp +++ b/tensilelite/rocisa/rocisa/include/format.hpp @@ -8,11 +8,13 @@ namespace rocisa // Text format functions inline std::string slash(const std::string& comment) { + return ""; return "// " + comment + "\n"; } inline std::string slash50(const std::string& comment) { + return ""; std::ostringstream oss; oss << std::setw(50) << "" << " // " << comment << "\n"; @@ -21,16 +23,19 @@ namespace rocisa inline std::string block(const std::string& comment) { + return ""; return "/* " + comment + " */\n"; } inline std::string blockNewLine(const std::string& comment) { + return ""; return "\n/* " + comment + " */\n"; } inline std::string block3Line(const std::string& comment) { + return ""; std::ostringstream oss; oss << "\n/******************************************/\n"; std::istringstream iss(comment); @@ -52,7 +57,7 @@ namespace rocisa { formattedStr = "\"" + formattedStr + "\\n\\t\""; } - if(!comment.empty()) + if(false) { std::string buffer = formattedStr + std::string(std::max(0, 50 - int(formattedStr.length())), ' ')