Skip to content

Commit

Permalink
change cutlass branch
Browse files Browse the repository at this point in the history
  • Loading branch information
freeliuzc committed Jan 2, 2024
1 parent ececa85 commit 8d5f154
Showing 1 changed file with 10 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ static CutlassGemmConfig estimate_best_config_from_occupancies(

CutlassGemmConfig best_config;

if (m >= 256 && sm == 86 &&
if (m >= 256 && sm == 86 && group_size > 0 &&
std::find_if(
candidate_configs.begin(),
candidate_configs.end(),
Expand All @@ -221,13 +221,20 @@ static CutlassGemmConfig estimate_best_config_from_occupancies(
SplitKStyle::NO_SPLIT_K,
1,
2};
} else if (m >= 256 && sm >= 80 && group_size > 0) {
} else if (m >= 256 && sm == 80 && group_size > 0 &&
std::find_if(candidate_configs.begin(),
candidate_configs.end(),
[](const CutlassGemmConfig& gemm_config) {
return gemm_config.tile_config ==
CutlassTileConfig::
CtaShape256x128x64_WarpShape64x64x64;
}) != candidate_configs.end()) {
best_config = CutlassGemmConfig{
CutlassTileConfig::CtaShape256x128x64_WarpShape64x64x64,
SplitKStyle::NO_SPLIT_K,
1,
4};
} else if (m >= 256 &&
} else if (m >= 256 && sm == 80 && group_size <= 0 &&
std::find_if(candidate_configs.begin(),
candidate_configs.end(),
[](const CutlassGemmConfig& gemm_config) {
Expand Down

0 comments on commit 8d5f154

Please sign in to comment.