Skip to content

Commit

Permalink
recover default niter (#1064)
Browse files Browse the repository at this point in the history
  • Loading branch information
zjing14 authored Nov 28, 2023
1 parent 7965d66 commit ae5e518
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions include/ck/stream_config.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ struct StreamConfig
hipStream_t stream_id_ = nullptr;
bool time_kernel_ = false;
int log_level_ = 0;
int cold_niters_ = 50;
int nrepeat_ = 200;
int cold_niters_ = 1;
int nrepeat_ = 10;
};
2 changes: 1 addition & 1 deletion profiler/include/profiler/profile_gemm_impl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ int profile_gemm_impl(int do_verification,
std::string op_name = op_ptr->GetTypeString();

float avg_time =
invoker_ptr->Run(argument_ptr.get(), StreamConfig{nullptr, time_kernel});
invoker_ptr->Run(argument_ptr.get(), StreamConfig{nullptr, time_kernel, 0, 10, 50});

std::size_t flop = std::size_t(2) * M * N * K;

Expand Down

0 comments on commit ae5e518

Please sign in to comment.