Home
last modified time | relevance | path

Searched refs:core_runtime (Results 1 – 25 of 30) sorted by relevance

12

/external/tensorflow/tensorflow/core/tfrt/eager/backends/cpu/
Dcpu_registration.cc33 static void RegisterCpuOpHandler(CoreRuntime* core_runtime, in RegisterCpuOpHandler() argument
40 auto cpu = core_runtime->GetHostContext() in RegisterCpuOpHandler()
44 tensorflow::tfd::CreateRuntimeFallbackOpHandler(core_runtime, in RegisterCpuOpHandler()
49 core_runtime, std::move(cpu), expected_fallback_op_handler.get()); in RegisterCpuOpHandler()
62 core_runtime->RegisterOpHandler(device->name(), in RegisterCpuOpHandler()
68 core_runtime->RegisterOpHandler("cpu", expected_cpu_op_handler.get()); in RegisterCpuOpHandler()
DBUILD24 "//tensorflow/core/tfrt/eager:core_runtime",
30 "@tf_runtime//backends/cpu:core_runtime",
/external/tensorflow/tensorflow/core/tfrt/eager/backends/gpu/
Dgpu_registration.cc33 static void RegisterGpuOpHandler(CoreRuntime* core_runtime, in RegisterGpuOpHandler() argument
54 core_runtime->GetHostContext()); in RegisterGpuOpHandler()
62 tensorflow::tfd::CreateRuntimeFallbackOpHandler(core_runtime, in RegisterGpuOpHandler()
67 ::tfrt::gpu::CreateGpuOpHandler(core_runtime, std::move(gpu.get()), in RegisterGpuOpHandler()
71 core_runtime->RegisterOpHandler(device->name(), in RegisterGpuOpHandler()
76 core_runtime->RegisterOpHandler("gpu", expected_gpu_op_handler.get()); in RegisterGpuOpHandler()
DBUILD37 "//tensorflow/core/tfrt/eager:core_runtime",
/external/tensorflow/tensorflow/core/tfrt/eager/cpp_tests/core_runtime/
DBUILD23 "//tensorflow/core/tfrt/eager:core_runtime",
24 "@tf_runtime//:core_runtime",
27 "@tf_runtime//backends/cpu:core_runtime",
/external/tensorflow/tensorflow/core/tfrt/utils/
Dutils.cc126 auto* core_runtime = runtime.core_runtime(); in CreateBefFileFromBefBuffer() local
127 DCHECK(core_runtime); in CreateBefFileFromBefBuffer()
128 auto* host_context = core_runtime->GetHostContext(); in CreateBefFileFromBefBuffer()
DBUILD52 "@tf_runtime//:core_runtime",
96 "@tf_runtime//:core_runtime",
119 "@tf_runtime//:core_runtime",
/external/tensorflow/tensorflow/core/runtime_fallback/kernel/
DBUILD28 "@tf_runtime//:core_runtime",
50 "@tf_runtime//:core_runtime",
74 "@tf_runtime//:core_runtime",
100 "@tf_runtime//:core_runtime",
123 "@tf_runtime//:core_runtime",
154 "@tf_runtime//:core_runtime",
157 "@tf_runtime//backends/cpu:core_runtime",
298 "@tf_runtime//:core_runtime",
325 "@tf_runtime//:core_runtime",
367 "@tf_runtime//:core_runtime",
/external/tensorflow/tensorflow/core/tfrt/eager/core_runtime/
Dop_handler_selector.cc32 EagerOpHandlerSelector::EagerOpHandlerSelector(CoreRuntime* core_runtime, in EagerOpHandlerSelector() argument
36 : core_runtime_(core_runtime), in EagerOpHandlerSelector()
38 cpu_device_(core_runtime->GetHostContext()->GetHostDevice()), in EagerOpHandlerSelector()
Dop_handler_registry.cc31 void RegisterOpHandlers(CoreRuntime* core_runtime, in RegisterOpHandlers() argument
35 fn(core_runtime, resource_context, device_mgr); in RegisterOpHandlers()
Dop_handler_registry.h35 using OpHandlerRegistrationFn = void (*)(CoreRuntime* core_runtime,
40 void RegisterOpHandlers(CoreRuntime* core_runtime,
Dop_handler_selector.h44 EagerOpHandlerSelector(CoreRuntime* core_runtime, EagerContext* eager_context,
DBUILD2 # core_runtime libraries.
/external/tensorflow/tensorflow/core/runtime_fallback/util/
DBUILD39 "@tf_runtime//:core_runtime",
102 "@tf_runtime//:core_runtime",
159 "@tf_runtime//:core_runtime",
181 "@tf_runtime//:core_runtime",
206 "@tf_runtime//:core_runtime",
/external/tensorflow/tensorflow/core/tfrt/eager/
DBUILD73 ":core_runtime",
139 ":core_runtime",
198 name = "core_runtime",
199 actual = "//tensorflow/core/tfrt/eager/core_runtime:core_runtime_lib",
254 "@tf_runtime//backends/cpu:core_runtime",
/external/tensorflow/tensorflow/core/tfrt/runtime/
Druntime.h63 tfrt::CoreRuntime* core_runtime() const { return core_runtime_.get(); } in core_runtime() function
92 explicit Runtime(std::unique_ptr<tfrt::CoreRuntime> core_runtime,
Druntime.cc158 Runtime::Runtime(std::unique_ptr<tfrt::CoreRuntime> core_runtime, in Runtime() argument
160 : core_runtime_(std::move(core_runtime)), work_queue_(work_queue) { in Runtime()
DBUILD44 "@tf_runtime//backends/cpu:core_runtime",
/external/tensorflow/tensorflow/core/runtime_fallback/runtime/
DBUILD87 "@tf_runtime//:core_runtime",
92 "@tf_runtime//backends/cpu:core_runtime",
179 "@tf_runtime//:core_runtime",
/external/tensorflow/tensorflow/core/runtime_fallback/opdefs/
Dtfrt_fallback_sync.td21 include "tfrt/core_runtime/opdefs/corert_base.td"
22 include "tfrt/core_runtime/opdefs/corert_traits.td"
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dbef_thunk.cc85 tfrt::CoreRuntime* core_runtime; member
226 tfrt::HostContext* host = runtime_and_queue.core_runtime->GetHostContext(); in CreateBefThunk()
338 runtime_and_queue.core_runtime->GetHostContext(), in ExecuteOnStream()
/external/tensorflow/tensorflow/compiler/mlir/tfrt/ir/
Dtfrt_fallback_sync.td21 include "tfrt/core_runtime/opdefs/corert_base.td"
22 include "tfrt/core_runtime/opdefs/corert_traits.td"
/external/tensorflow/tensorflow/core/tfrt/graph_executor/
DBUILD69 "@tf_runtime//:core_runtime",
Dgraph_executor.h122 options_.runtime->core_runtime()->GetHostContext()) {} in GraphExecutor()
Dgraph_executor.cc150 auto* host = runtime.core_runtime()->GetHostContext(); in GraphExecutionRunOnFunction()
528 auto* host = runtime().core_runtime()->GetHostContext(); in InitBef()

12