From 49e9cf799c00eeec4a03e5eaf141196df84b8708 Mon Sep 17 00:00:00 2001 From: KuangjuX <18630816527@163.com> Date: Sun, 29 Dec 2024 00:25:17 -0800 Subject: [PATCH] pre-commit fix. --- .vscode/settings.json | 2 +- benchmarks/cpp/flashattention/Makefile | 2 +- benchmarks/cpp/flashattention/convert.cuh | 2 +- benchmarks/cpp/flashattention/main.cu | 2 +- benchmarks/cpp/flashattention/reduce.cuh | 2 +- benchmarks/cpp/flashattention/util.hpp | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index f082a27..8a6e4a8 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -16,4 +16,4 @@ "gotoSymbolStack.currentStackPosition": 0, "gotoSymbolStack.maxStackPosition": 0, "gotoSymbolStack.filePositionInfo": [] -} \ No newline at end of file +} diff --git a/benchmarks/cpp/flashattention/Makefile b/benchmarks/cpp/flashattention/Makefile index 2897c48..2b59221 100644 --- a/benchmarks/cpp/flashattention/Makefile +++ b/benchmarks/cpp/flashattention/Makefile @@ -13,4 +13,4 @@ build: @cd $(BUILD_DIR) && cmake .. && make -j$(proc) clean: - @rm -rf $(BUILD_DIR) \ No newline at end of file + @rm -rf $(BUILD_DIR) diff --git a/benchmarks/cpp/flashattention/convert.cuh b/benchmarks/cpp/flashattention/convert.cuh index f212fac..36cbef0 100644 --- a/benchmarks/cpp/flashattention/convert.cuh +++ b/benchmarks/cpp/flashattention/convert.cuh @@ -65,4 +65,4 @@ DEVICE auto convert_layout_scores_copyview(LayoutType layout_s) { } } // namespace cutlass_wrapper -} // namespace benchmarks \ No newline at end of file +} // namespace benchmarks diff --git a/benchmarks/cpp/flashattention/main.cu b/benchmarks/cpp/flashattention/main.cu index b78402a..640419a 100644 --- a/benchmarks/cpp/flashattention/main.cu +++ b/benchmarks/cpp/flashattention/main.cu @@ -138,4 +138,4 @@ void run(bool check = true) { cudaDeviceSynchronize(); } -int main() { run(); } \ No newline at end of file +int main() { run(); } diff --git a/benchmarks/cpp/flashattention/reduce.cuh b/benchmarks/cpp/flashattention/reduce.cuh index 1f04ee5..0a5a0a8 100644 --- a/benchmarks/cpp/flashattention/reduce.cuh +++ b/benchmarks/cpp/flashattention/reduce.cuh @@ -137,4 +137,4 @@ DEVICE void reduce_sumabs(cute::Tensor const& tensor, } } // namespace cutlass_wrapper -} // namespace benchmarks \ No newline at end of file +} // namespace benchmarks diff --git a/benchmarks/cpp/flashattention/util.hpp b/benchmarks/cpp/flashattention/util.hpp index b3202b5..1cc00eb 100644 --- a/benchmarks/cpp/flashattention/util.hpp +++ b/benchmarks/cpp/flashattention/util.hpp @@ -29,4 +29,4 @@ bool check_results(const __half* values1, const __half* values2, int numel) { } } return passed; -} \ No newline at end of file +}