Skip to content

Commit 0e29033

Browse files
committed
Fix format
1 parent 02ed663 commit 0e29033

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

include/ck_tile/ops/fmha/kernel/fmha_fwd_v3_kernel.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212

1313
namespace ck_tile {
1414

15-
/// NOTICE: This kernel is a work in progress and is awaiting upcoming compiler fixes and instruction scheduling optimizations.
15+
/// NOTICE: This kernel is a work in progress and is awaiting upcoming compiler fixes and
16+
/// instruction scheduling optimizations.
1617
template <typename FmhaPipeline_, typename EpiloguePipeline_>
1718
struct FmhaFwdV3Kernel
1819
{

include/ck_tile/ops/fmha/pipeline/block_fmha_fwd_v3_pipeline.hpp

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,8 @@ CK_TILE_DEVICE fp32x2_t pk_mul_f32(fp32x2_t lhs, fp32x2_t rhs)
248248
}
249249
} // namespace detail
250250

251-
/// NOTICE: This pipeline is a work in progress and is awaiting upcoming compiler fixes and instruction scheduling optimizations.
251+
/// NOTICE: This pipeline is a work in progress and is awaiting upcoming compiler fixes and
252+
/// instruction scheduling optimizations.
252253
template <typename Problem_, typename Policy_ = BlockFmhaV3PipelineDefaultPolicy>
253254
struct BlockFmhaFwdV3Pipeline
254255
{
@@ -298,7 +299,9 @@ struct BlockFmhaFwdV3Pipeline
298299
static constexpr auto QScaleEnum = Problem::QScaleEnum;
299300
static constexpr bool kSkipMinSeqlenQ = Problem::kSkipMinSeqlenQ;
300301
static_assert((!kHasLogitsSoftCap && BiasEnum == BlockAttentionBiasEnum::NO_BIAS &&
301-
!kStoreLSE && !kHasDropout && (QScaleEnum == ck_tile::BlockAttentionQuantScaleEnum::NO_SCALE) && !kSkipMinSeqlenQ),
302+
!kStoreLSE && !kHasDropout &&
303+
(QScaleEnum == ck_tile::BlockAttentionQuantScaleEnum::NO_SCALE) &&
304+
!kSkipMinSeqlenQ),
302305
"enable unsupported features");
303306

304307
// last dimension vector length used to create tensor view(and decide buffer_load vector length)

include/ck_tile/remod.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def gen_header(hpath, include_list):
9090
# formatting
9191
format_procs = []
9292
for x in all_files:
93-
dos2unix = f"python -m dos2unix {str(x)} {str(x)}"
93+
dos2unix = f"python3 -m dos2unix {str(x)} {str(x)}"
9494
clang_format = f"clang-format -style=file -i {str(x)}"
9595
# One process to avoid race conditions.
9696
cmd = f"{dos2unix} && {clang_format}"

0 commit comments

Comments
 (0)