Home
last modified time | relevance | path

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

12

/external/tensorflow/tensorflow/core/framework/
Dmemory_types_test.cc77 MemoryTypeVector({HOST_MEMORY, DEVICE_MEMORY, DEVICE_MEMORY, HOST_MEMORY, in TEST()
78 HOST_MEMORY, HOST_MEMORY, DEVICE_MEMORY, DEVICE_MEMORY, in TEST()
79 DEVICE_MEMORY, HOST_MEMORY, HOST_MEMORY, HOST_MEMORY}), in TEST()
84 HOST_MEMORY, HOST_MEMORY, DEVICE_MEMORY}), in TEST()
90 MemoryTypeVector({HOST_MEMORY, HOST_MEMORY, DEVICE_MEMORY, HOST_MEMORY, in TEST()
91 HOST_MEMORY, HOST_MEMORY, HOST_MEMORY, HOST_MEMORY, in TEST()
92 HOST_MEMORY, HOST_MEMORY, HOST_MEMORY, HOST_MEMORY}), in TEST()
95 HOST_MEMORY, HOST_MEMORY, HOST_MEMORY, in TEST()
96 HOST_MEMORY, HOST_MEMORY, DEVICE_MEMORY}), in TEST()
Dmemory_types.cc54 (*memory_types)[j] = HOST_MEMORY; in MemoryTypesHelper()
74 return (dtype == DT_INT32 || DataTypeAlwaysOnHost(dtype)) ? HOST_MEMORY in MTypeFromDType()
79 return DataTypeAlwaysOnHost(dtype) ? HOST_MEMORY : DEVICE_MEMORY; in MTypeFromDTypeIntsOnDevice()
148 (*inp_mtypes)[i] = HOST_MEMORY; in MemoryTypesForNode()
153 (*out_mtypes)[i] = HOST_MEMORY; in MemoryTypesForNode()
161 (*inp_mtypes)[i] = HOST_MEMORY; in MemoryTypesForNode()
169 (*out_mtypes)[i] = HOST_MEMORY; in MemoryTypesForNode()
Dtypes.h50 HOST_MEMORY = 1, enumerator
/external/tensorflow/tensorflow/core/common_runtime/
Dmemory_types.cc169 if (((sm == HOST_MEMORY) && (dm == DEVICE_MEMORY)) || in EnsureMemoryTypes()
170 ((sm == DEVICE_MEMORY) && (dm == HOST_MEMORY))) { in EnsureMemoryTypes()
194 Send(g, tensor_name, device_name, (item.sm == HOST_MEMORY), e); in EnsureMemoryTypes()
195 recv = Recv(g, tensor_name, device_name, (item.dm == HOST_MEMORY), e); in EnsureMemoryTypes()
Dpartitioning_utils.cc210 if (mtype == HOST_MEMORY) { in UpdateArgAndRetvalMetadata()
225 if (mtype == HOST_MEMORY) { in UpdateArgAndRetvalMetadata()
Dmemory_types_test.cc75 EXPECT_EQ(memory_type, HOST_MEMORY); in TEST()
Dnode_file_writer.cc151 context->input_memory_type(i) == HOST_MEMORY) { in RecordNodeExecution()
Dsingle_threaded_executor.cc203 kernel_state.kernel->output_memory_types()[0] == HOST_MEMORY; in Initialize()
229 bool on_host = op_kernel->output_memory_types()[out] == HOST_MEMORY; in Initialize()
Dgraph_view.cc449 bool on_host = op_kernel->output_memory_types()[out] == HOST_MEMORY; in SetAllocAttrs()
Dconstant_folding.cc528 if ((memory_type == HOST_MEMORY && !is_int32) || in ReplaceTensorWithConstant()
Dfunction.cc1065 if (MTypeFromDType(arg_type) == HOST_MEMORY) { in RunRemote()
1072 if (MTypeFromDType(ret_type) == HOST_MEMORY) { in RunRemote()
/external/tensorflow/tensorflow/core/tfrt/fallback/
Dop_kernel_runner.cc148 tensorflow::HOST_MEMORY); in OpKernelRunner()
154 tensorflow::HOST_MEMORY); in OpKernelRunner()
/external/tensorflow/tensorflow/core/runtime_fallback/kernel/
Dop_kernel_runner.cc145 tensorflow::HOST_MEMORY); in OpKernelRunner()
151 tensorflow::HOST_MEMORY); in OpKernelRunner()
Dkernel_fallback_op_handler.cc140 if (op_kernel->output_memory_types()[index] == MemoryType::HOST_MEMORY && in GetResultDevice()
/external/tensorflow/tensorflow/core/common_runtime/eager/
Dkernel_and_device.cc124 bool host = kernel_->input_memory_types()[i] == tensorflow::HOST_MEMORY; in Init()
133 tensorflow::HOST_MEMORY); in Init()
482 if (kernel_->output_memory_types()[idx] == HOST_MEMORY) { in OutputDevice()
/external/tensorflow/tensorflow/compiler/jit/
Dxla_kernel_creator_test.cc120 EXPECT_EQ(HOST_MEMORY, kernel_->input_memory_types()[1]); in TEST_F()
Dxla_compile_on_demand_op.cc119 return ctx->input_memory_type(idx) == HOST_MEMORY; in Compile()
Dcompilability_check_util.cc686 input_memory_types[i] = tensorflow::HOST_MEMORY; in GetInputMemoryTypes()
698 output_memory_types[i] = tensorflow::HOST_MEMORY; in GetOutputMemoryTypes()
Dpartially_decluster_pass.cc98 dst_input_mtypes[e->dst_input()] == HOST_MEMORY; in FindNodesToDecluster()
/external/tensorflow/tensorflow/core/graph/
Dgraph_partition.cc155 return dst_it->second == HOST_MEMORY; in IsDstInputOnHost()
209 host_memory = (src_it->second == HOST_MEMORY); in AddSend()
273 host_memory = (dst_it->second == HOST_MEMORY); in AddRecv()
279 src_host_memory = (src_it->second == HOST_MEMORY); in AddRecv()
/external/tensorflow/tensorflow/core/kernels/
Dops_testutil.cc62 (params->op_kernel->output_memory_types()[index] == HOST_MEMORY); in SetOutputAttrs()
Dpad_op.cc111 alloc_attrs.set_on_host(context->input_memory_type(0) == HOST_MEMORY); in Compute()
/external/tensorflow/tensorflow/c/
Dkernels.cc608 return cc_ctx->input_memory_type(i) == tensorflow::HOST_MEMORY; in TF_IsHostMemoryInput()
618 return cc_ctx->output_memory_type(i) == tensorflow::HOST_MEMORY; in TF_IsHostMemoryOutput()
/external/tensorflow/tensorflow/python/grappler/
Dcluster_wrapper.cc202 if (inp_mtypes[i] == tensorflow::HOST_MEMORY) { in PYBIND11_MODULE()
/external/tensorflow/tensorflow/core/debug/
Ddebug_graph_utils.cc184 CreateCopyNode(graph, device_type, memory_type == HOST_MEMORY, in InsertNodes()

12