Commit 3b1e790e authored by Umang Yadav's avatar Umang Yadav
Browse files

Undo some of the changes

parent 65a0dafd
......@@ -226,9 +226,8 @@ struct DeviceGemmXdl : public DeviceGemm<ALayout,
{
return Argument{p_a, p_b, p_c, M, N, K, StrideA, StrideB, StrideC};
}
#ifndef __HIPCC_RTC__
static auto MakeInvoker() { return Invoker{}; }
#endif
// polymorphic
std::unique_ptr<BaseArgument> MakeArgumentPointer(const void* p_a,
......
......@@ -228,9 +228,8 @@ struct DeviceGemm_Xdl_CShuffle : public DeviceGemm<ALayout,
{
return Argument{p_a, p_b, p_c, M, N, K, StrideA, StrideB, StrideC};
}
#ifndef __HIPCC_RTC__
static auto MakeInvoker() { return Invoker{}; }
#endif
// polymorphic
std::unique_ptr<BaseArgument> MakeArgumentPointer(const void* p_a,
......
......@@ -557,9 +557,8 @@ struct DeviceGroupedGemmXdlSplitKCShuffle : public DeviceGroupedGemmSplitK<ALayo
{
return Argument{p_As, p_Bs, p_Es, gemm_descs};
}
#ifndef __HIPCC_RTC__
static auto MakeInvoker() { return Invoker{}; }
#endif
// polymorphic
std::unique_ptr<BaseArgument>
......
......@@ -269,13 +269,12 @@ struct DevicePermuteImpl : DevicePermute<NumDim, InDataType, OutDataType, Elemen
{
return Argument{std::forward<Args>(args)...};
}
#ifndef __HIPCC_RTC__
static std::enable_if_t<std::is_default_constructible_v<Invoker>, Invoker>
MakeInvoker() noexcept(std::is_nothrow_default_constructible_v<Invoker>)
{
return Invoker{};
}
#endif
};
} // namespace device
......
......@@ -939,7 +939,7 @@ struct DeviceSplitKContractionMultipleD_Xdl_CShuffle
return Run(*dynamic_cast<const Argument*>(p_arg), stream_config);
}
};
#ifndef __HIPCC_RTC__
static bool IsSupportedArgument(const Argument& arg)
{
if(!ck::is_xdl_supported())
......@@ -1037,7 +1037,7 @@ struct DeviceSplitKContractionMultipleD_Xdl_CShuffle
{
return IsSupportedArgument(*dynamic_cast<const Argument*>(p_arg));
}
#endif
static auto
MakeArgument(const void* p_a,
const void* p_b,
......@@ -1074,9 +1074,8 @@ struct DeviceSplitKContractionMultipleD_Xdl_CShuffle
split_k};
}
#ifndef __HIPCC_RTC__
static auto MakeInvoker() { return Invoker{}; }
#endif
// polymorphic
std::unique_ptr<BaseArgument>
MakeArgumentPointer(const void* p_a,
......
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