fix the profiling bug test=develop (#21396)

revert-21172-masked_select_api
wangchaochaohu 6 years ago committed by GitHub
parent b97fc16d21
commit e0e205ea2d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -498,7 +498,7 @@ void ParseEvents(const std::vector<std::vector<Event>> &events,
event_idx[event_name] = event_items.size();
EventItem event_item = {event_name, 1, event_time,
event_time, event_time, event_time,
gpu_time, cpu_time, 0.};
cpu_time, gpu_time, 0.};
event_items.push_back(event_item);
} else {
int index = event_idx[event_name];

Loading…
Cancel
Save