This is an automated email from the ASF dual-hosted git repository. wuwei pushed a commit to branch unity in repository https://gitbox.apache.org/repos/asf/tvm.git
commit e3216a6972d0d990b28c9177bf2d82a93989a360 Author: LeiWang <[email protected]> AuthorDate: Thu Jan 4 01:58:32 2024 -0400 lint fix --- src/tir/transforms/merge_shared_memory_allocations.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/tir/transforms/merge_shared_memory_allocations.cc b/src/tir/transforms/merge_shared_memory_allocations.cc index c3a43a6b3a..7539640735 100644 --- a/src/tir/transforms/merge_shared_memory_allocations.cc +++ b/src/tir/transforms/merge_shared_memory_allocations.cc @@ -20,7 +20,8 @@ /*! * \file merge_shared_memory_allocations.cc * \brief Each GPU kernel is allowed to have only one dynamic or static shared memory allocation. - * This pass merges multiple TIR-level dynamic or static shared memory allocations into one allocation. + * This pass merges multiple TIR-level dynamic or static shared memory allocations into one + * allocation. */ #include <tvm/runtime/registry.h> #include <tvm/tir/expr.h> @@ -650,8 +651,7 @@ namespace transform { Pass MergeSharedMemoryAllocations() { auto pass_func = [](PrimFunc f, IRModule m, PassContext ctx) { - bool merge_static_smem = - ctx->GetConfig<Bool>("tir.merge_static_smem", Bool(false)).value(); + bool merge_static_smem = ctx->GetConfig<Bool>("tir.merge_static_smem", Bool(false)).value(); auto* n = f.CopyOnWrite(); n->body = MergeSharedMemoryAllocations(std::move(n->body), merge_static_smem); return f;
