"git@developer.sourcefind.cn:cnjsdfcy/simbricks.git" did not exist on "254fae551399db4f7439bef9b5eb97e4074836ea"
Commit c93c1041 authored by Po-Yen, Chen's avatar Po-Yen, Chen
Browse files

Remove necessary methods

parent 0a929502
...@@ -235,13 +235,11 @@ struct DeviceCGemm_4Gemm_Xdl_CShuffle ...@@ -235,13 +235,11 @@ struct DeviceCGemm_4Gemm_Xdl_CShuffle
// Invoker // Invoker
struct Invoker : public BaseInvoker struct Invoker : public BaseInvoker
{ {
void Print(const Argument& karg) { karg.Print(); }
float Run(const Argument& karg, const StreamConfig& stream_config = StreamConfig{}) float Run(const Argument& karg, const StreamConfig& stream_config = StreamConfig{})
{ {
if(stream_config.log_level_ > 0) if(stream_config.log_level_ > 0)
{ {
Print(karg); karg.Print();
} }
if(!GridwiseGemm::CheckValidity(karg)) if(!GridwiseGemm::CheckValidity(karg))
......
...@@ -168,13 +168,11 @@ struct DeviceGemm_Xdl_CShuffle : public DeviceGemm<ALayout, ...@@ -168,13 +168,11 @@ struct DeviceGemm_Xdl_CShuffle : public DeviceGemm<ALayout,
// Invoker // Invoker
struct Invoker : public BaseInvoker struct Invoker : public BaseInvoker
{ {
void Print(const Argument& karg) { karg.Print(); }
float Run(const Argument& karg, const StreamConfig& stream_config = StreamConfig{}) float Run(const Argument& karg, const StreamConfig& stream_config = StreamConfig{})
{ {
if(stream_config.log_level_ > 0) if(stream_config.log_level_ > 0)
{ {
Print(karg); karg.Print();
} }
if(!GridwiseGemm::CheckValidity(karg)) if(!GridwiseGemm::CheckValidity(karg))
......
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