Home
last modified time | relevance | path

Searched refs:TimerInterface (Results 1 – 9 of 9) sorted by relevance

/external/tensorflow/tensorflow/stream_executor/
Dtimer.h26 class TimerInterface; variable
57 internal::TimerInterface *implementation() { return implementation_.get(); } in implementation()
66 std::unique_ptr<internal::TimerInterface> implementation_;
Dstream_executor_internal.h145 class TimerInterface {
148 TimerInterface() {} in TimerInterface() function
151 virtual ~TimerInterface() {} in ~TimerInterface()
160 SE_DISALLOW_COPY_AND_ASSIGN(TimerInterface);
361 virtual std::unique_ptr<TimerInterface> GetTimerImplementation() = 0;
385 using TimerFactory = std::function<TimerInterface *(StreamExecutor *)>;
/external/tensorflow/tensorflow/stream_executor/host/
Dhost_timer.h26 class HostTimer : public internal::TimerInterface {
Dhost_gpu_executor.h202 std::unique_ptr<internal::TimerInterface> GetTimerImplementation() override { in GetTimerImplementation()
203 return std::unique_ptr<internal::TimerInterface>(new HostTimer()); in GetTimerImplementation()
/external/tensorflow/tensorflow/compiler/xla/service/interpreter/
Dexecutor.h202 std::unique_ptr<internal::TimerInterface> GetTimerImplementation() override { in GetTimerImplementation()
203 return std::unique_ptr<internal::TimerInterface>(new host::HostTimer()); in GetTimerImplementation()
/external/tensorflow/tensorflow/stream_executor/gpu/
Dgpu_timer.h35 class GpuTimer : public internal::TimerInterface {
Dgpu_executor.h232 std::unique_ptr<internal::TimerInterface> GetTimerImplementation() override;
/external/tensorflow/tensorflow/stream_executor/rocm/
Drocm_gpu_executor.cc856 std::unique_ptr<internal::TimerInterface>
858 return std::unique_ptr<internal::TimerInterface>(new GpuTimer(this)); in GetTimerImplementation()
/external/tensorflow/tensorflow/stream_executor/cuda/
Dcuda_gpu_executor.cc954 std::unique_ptr<internal::TimerInterface>
956 return std::unique_ptr<internal::TimerInterface>(new GpuTimer(this)); in GetTimerImplementation()