: hlo_profile_printer_data_(*hlo_profile_printer_data),
hlo_profile_index_map_(*hlo_profile_index_map),
profile_counters_(
- /*count*/ hlo_profile_index_map_.total_count(),
- /*value*/ 0) {}
+ /*count=*/hlo_profile_index_map_.total_count(),
+ /*value=*/0) {}
void HloExecutionProfile::SetCyclesTakenBy(const HloInstruction* hlo,
uint64 cycles_taken) {
TF_ASSERT_OK_AND_ASSIGN(
std::unique_ptr<LocalExecutable> local_executable,
client->Compile(computation, {&lhs_arg_shape, &rhs_arg_shape},
- ExecutableBuildOptions()));
+ ExecutableBuildOptions().set_hlo_profile(true)));
Executable* executable = local_executable->executable();
HloExecutionProfile hlo_execution_profile(