From 1f30ac9d5aff30ae0c99afa7ffc1d109cb1819d3 Mon Sep 17 00:00:00 2001 From: Shucai Xiao Date: Thu, 25 Apr 2024 21:57:30 +0000 Subject: [PATCH] fix format --- .../predicated_tile_access_iterator_residual_last.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/xformers/csrc/attention/cuda/fmha/iterators/predicated_tile_access_iterator_residual_last.h b/xformers/csrc/attention/cuda/fmha/iterators/predicated_tile_access_iterator_residual_last.h index fb23772f99..48704f3bab 100644 --- a/xformers/csrc/attention/cuda/fmha/iterators/predicated_tile_access_iterator_residual_last.h +++ b/xformers/csrc/attention/cuda/fmha/iterators/predicated_tile_access_iterator_residual_last.h @@ -510,7 +510,7 @@ class PredicatedTileAccessIteratorResidualLast< /// Construct the Params object given a pitch-linear tensor's layout CUTLASS_HOST_DEVICE Params(Layout const& layout) - : params_(layout::PitchLinear(layout.stride(0))){}; + : params_(layout::PitchLinear(layout.stride(0))) {}; /// Construct the Params object given a pitch-linear tensor's layout CUTLASS_HOST_DEVICE @@ -735,7 +735,7 @@ class PredicatedTileAccessIteratorResidualLast< /// Construct the Params object given a pitch-linear tensor's layout CUTLASS_HOST_DEVICE Params(Layout const& layout) - : params_(layout::PitchLinear(layout.stride(0))){}; + : params_(layout::PitchLinear(layout.stride(0))) {}; /// Construct the Params object given a pitch-linear tensor's layout CUTLASS_HOST_DEVICE @@ -1291,7 +1291,8 @@ class PredicatedTileAccessIteratorResidualLast< /// Construct the Params object given an AffineRankN<2> tensor's layout CUTLASS_HOST_DEVICE Params(Layout const& layout) - : params_(layout::AffineRankN<2>(layout.stride(0), layout.stride(1))){}; + : params_(layout::AffineRankN<2>(layout.stride(0), layout.stride(1))) { + }; }; private: @@ -1510,7 +1511,8 @@ class PredicatedTileAccessIteratorResidualLast< /// Construct the Params object given an AffineRankN<2> tensor's layout CUTLASS_HOST_DEVICE Params(Layout const& layout) - : params_(layout::AffineRankN<2>(layout.stride(1), layout.stride(0))){}; + : params_(layout::AffineRankN<2>(layout.stride(1), layout.stride(0))) { + }; }; private: