Skip to content

Commit

Permalink
lintrunner
Browse files Browse the repository at this point in the history
  • Loading branch information
wangyems committed Mar 23, 2024
1 parent ec1eabf commit 9d38e74
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@ template <typename Mma_, ///! Threadblock-scoped matrix multiply
typename Epilogue_, ///! Epilogue
typename ThreadblockSwizzle_, ///! Threadblock swizzling function
typename KernelArch, ///! The Architecture this kernel is compiled for. Used since SIMT kernels lose
///top-level
/// arch.
bool SplitKSerial ///! If true, code supporting split-K via serial reduction is enabled.
/// top-level
/// arch.
bool SplitKSerial ///! If true, code supporting split-K via serial reduction is enabled.
>
struct GemmFpAIntB {
using Mma = Mma_;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,10 @@ enum class EpilogueScheduleType {
// architectures older than hopper, the epilogue is always performed by the same thread block as the main loop.
};

enum class ClusterShape { ClusterShape_1x1x1, ClusterShape_2x1x1, ClusterShape_1x2x1, ClusterShape_2x2x1 };
enum class ClusterShape { ClusterShape_1x1x1,
ClusterShape_2x1x1,
ClusterShape_1x2x1,
ClusterShape_2x2x1 };

struct CutlassGemmConfig {
CutlassTileConfig tile_config = CutlassTileConfig::ChooseWithHeuristic;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,10 @@

namespace cutlass {

enum class WeightOnlyQuantOp { UNDEFINED, PER_COLUMN_SCALE_ONLY, FINEGRAINED_SCALE_ONLY, FINEGRAINED_SCALE_AND_ZEROS };
enum class WeightOnlyQuantOp { UNDEFINED,
PER_COLUMN_SCALE_ONLY,
FINEGRAINED_SCALE_ONLY,
FINEGRAINED_SCALE_AND_ZEROS };

constexpr bool isFinegrained(WeightOnlyQuantOp op) {
return op == WeightOnlyQuantOp::FINEGRAINED_SCALE_AND_ZEROS || op == WeightOnlyQuantOp::FINEGRAINED_SCALE_ONLY;
Expand Down

0 comments on commit 9d38e74

Please sign in to comment.