Home
last modified time | relevance | path

Searched refs:AsGpuTimer (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/stream_executor/rocm/
Drocm_gpu_executor.cc70 static GpuTimer* AsGpuTimer(Timer* timer) { in AsGpuTimer() function
621 return AsGpuTimer(timer)->Init(); in AllocateTimer()
625 AsGpuTimer(timer)->Destroy(); in DeallocateTimer()
644 return AsGpuTimer(timer)->Start(AsGpuStream(stream)); in StartTimer()
648 return AsGpuTimer(timer)->Stop(AsGpuStream(stream)); in StopTimer()
/external/tensorflow/tensorflow/stream_executor/cuda/
Dcuda_gpu_executor.cc93 static GpuTimer* AsGpuTimer(Timer* timer) { in AsGpuTimer() function
740 return AsGpuTimer(timer)->Init(); in AllocateTimer()
744 AsGpuTimer(timer)->Destroy(); in DeallocateTimer()
763 return AsGpuTimer(timer)->Start(AsGpuStream(stream)); in StartTimer()
767 return AsGpuTimer(timer)->Stop(AsGpuStream(stream)); in StopTimer()