"src/vscode:/vscode.git/clone" did not exist on "50005acfc7c4fbfc4a47d3d02e796948341e42ce"
Commit 87548b5d authored by Umang Yadav's avatar Umang Yadav
Browse files

add ifdef to compile

parent 037205c5
......@@ -219,6 +219,7 @@ struct gemm_impl
void run(context& ctx, const std::vector<argument>& input_args, int32_t solution_idx = 0) const
{
#ifdef MIGRAPHX_USE_ROCBLAS_FP8_API
if(rocblas_fp8_available() and
std::any_of(input_args.begin(), input_args.end(), [](const auto i) {
return i.get_shape().type() == migraphx::shape::fp8e4m3fnuz_type;
......@@ -244,6 +245,7 @@ struct gemm_impl
}
}
else
#endif
{
if(strided_batched)
{
......
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