Commit e2a36631 authored by Astha Rai's avatar Astha Rai
Browse files

Merge branch 'codegen-enable-hiprtc' of github.com:ROCm/composable_kernel into...

Merge branch 'codegen-enable-hiprtc' of github.com:ROCm/composable_kernel into codegen-enable-hiprtc
parents f22c837c 182a71cd
...@@ -254,22 +254,13 @@ float gemm_calc(const ck_tile::GemmHostArgs& args, const ck_tile::stream_config& ...@@ -254,22 +254,13 @@ float gemm_calc(const ck_tile::GemmHostArgs& args, const ck_tile::stream_config&
#endif #endif
} }
else else
{
// Tail number always Full - #PrefetchStages
if(tail_num == ck_tile::TailNumber::Full)
{
Run(ck_tile::bool_constant<false>{},
ck_tile::integral_constant<ck_tile::TailNumber, ck_tile::TailNumber::Full>{});
}
else
{ {
std::ostringstream err; std::ostringstream err;
err << "When there's no hot loop, this tail number \"" << tail_num err << "Num K loop must be larger than number of prefetech stages."
<< "\" is not supported! PrefetchStages: " << BaseGemmPipeline::PrefetchStages << "\n PrefetchStages: " << BaseGemmPipeline::PrefetchStages << "\n File: " << __FILE__
<< "\n File: " << __FILE__ << ":" << __LINE__ << ", in function: " << __func__; << ":" << __LINE__ << ", in function: " << __func__;
throw std::runtime_error(err.str()); throw std::runtime_error(err.str());
} }
}
return ave_time; return ave_time;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment