File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -125,7 +125,7 @@ void benchmark_single(const ck_tile::ArgParser& arg_parser)
125125 std::string json_filename = arg_parser.get_str (" json_file" );
126126 std::ofstream json_file_stream;
127127 std::ostream* output_stream = &std::cout;
128-
128+
129129 if (!json_filename.empty ())
130130 {
131131 json_file_stream.open (json_filename);
@@ -135,7 +135,7 @@ void benchmark_single(const ck_tile::ArgParser& arg_parser)
135135 }
136136 else
137137 {
138- std::cerr << " Warning: Failed to open JSON file " << json_filename
138+ std::cerr << " Warning: Failed to open JSON file " << json_filename
139139 << " , using stdout instead." << std::endl;
140140 }
141141 }
Original file line number Diff line number Diff line change @@ -227,7 +227,7 @@ class GemmProfiler
227227 {
228228 *output_stream_ << " **********************************" << std::endl;
229229 *output_stream_ << " According to given metrics: " << get_metric_name (metric) << " \n "
230- << " Current kernel performance is: " << kernel_instance << std::endl;
230+ << " Current kernel performance is: " << kernel_instance << std::endl;
231231 *output_stream_ << " **********************************" << std::endl;
232232 }
233233
@@ -281,8 +281,10 @@ class GemmProfiler
281281
282282 private:
283283 ~GemmProfiler () { kernel_instances_.clear (); }
284- GemmProfiler (Setting setting, std::ostream* output_stream = &std::cout)
285- : setting_(setting), output_stream_(output_stream) {}
284+ GemmProfiler (Setting setting, std::ostream* output_stream = &std::cout)
285+ : setting_(setting), output_stream_(output_stream)
286+ {
287+ }
286288
287289 Setting setting_;
288290 std::ostream* output_stream_;
You can’t perform that action at this time.
0 commit comments