| 81 | } |
| 82 | |
| 83 | bool GpuTimer::Stop(GpuStream* stream) { |
| 84 | port::Status status = GpuDriver::RecordEvent( |
| 85 | parent_->gpu_context(), stop_event_, stream->gpu_stream()); |
| 86 | if (!status.ok()) { |
| 87 | LOG(ERROR) << status; |
| 88 | } |
| 89 | return status.ok(); |
| 90 | } |
| 91 | |
| 92 | } // namespace gpu |
| 93 | } // namespace stream_executor |
no test coverage detected