Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/framework/
Dmemory_types_test.cc71 MemoryTypeVector({DEVICE_MEMORY, DEVICE_MEMORY, HOST_MEMORY, HOST_MEMORY, in TEST()
72 HOST_MEMORY, DEVICE_MEMORY, DEVICE_MEMORY, in TEST()
73 DEVICE_MEMORY, HOST_MEMORY, HOST_MEMORY, HOST_MEMORY}), in TEST()
83 MemoryTypeVector({HOST_MEMORY, DEVICE_MEMORY, HOST_MEMORY, HOST_MEMORY, in TEST()
84 HOST_MEMORY, HOST_MEMORY, HOST_MEMORY, HOST_MEMORY, in TEST()
85 HOST_MEMORY, HOST_MEMORY, HOST_MEMORY}), in TEST()
87 EXPECT_EQ(MemoryTypeVector({HOST_MEMORY, HOST_MEMORY, HOST_MEMORY, in TEST()
Dmemory_types.cc52 (*memory_types)[j] = HOST_MEMORY; in MemoryTypesHelper()
71 return (dtype == DT_INT32 || DataTypeAlwaysOnHost(dtype)) ? HOST_MEMORY in MTypeFromDType()
133 (*inp_mtypes)[i] = HOST_MEMORY; in MemoryTypesForNode()
138 (*out_mtypes)[i] = HOST_MEMORY; in MemoryTypesForNode()
146 (*inp_mtypes)[i] = HOST_MEMORY; in MemoryTypesForNode()
153 (*out_mtypes)[i] = HOST_MEMORY; in MemoryTypesForNode()
Dtypes.h49 HOST_MEMORY = 1, enumerator
/external/tensorflow/tensorflow/core/common_runtime/
Dmemory_types.cc163 if (((sm == HOST_MEMORY) && (dm == DEVICE_MEMORY)) || in EnsureMemoryTypes()
164 ((sm == DEVICE_MEMORY) && (dm == HOST_MEMORY))) { in EnsureMemoryTypes()
188 Send(g, tensor_name, device_name, (item.sm == HOST_MEMORY), e); in EnsureMemoryTypes()
189 recv = Recv(g, tensor_name, device_name, (item.dm == HOST_MEMORY), e); in EnsureMemoryTypes()
Dmemory_types_test.cc87 EXPECT_EQ(memory_type, HOST_MEMORY); in TEST()
93 EXPECT_EQ(memory_type, HOST_MEMORY); in TEST()
Dpartitioning_utils.cc104 if (MTypeFromDType(type) == HOST_MEMORY) { in UpdateArgAndRetvalMetadata()
115 if (MTypeFromDType(type) == HOST_MEMORY) { in UpdateArgAndRetvalMetadata()
Dconstant_folding.cc504 if ((memory_type == HOST_MEMORY && !is_int32) || in ReplaceTensorWithConstant()
Dfunction.cc982 if (MTypeFromDType(arg_type) == HOST_MEMORY) { in RunRemote()
989 if (MTypeFromDType(ret_type) == HOST_MEMORY) { in RunRemote()
Dexecutor.cc770 bool on_host = op_kernel->output_memory_types()[out] == HOST_MEMORY; in SetAllocAttrs()
/external/tensorflow/tensorflow/core/common_runtime/eager/
Dkernel_and_device.cc214 tensorflow::HOST_MEMORY); in Run()
219 tensorflow::HOST_MEMORY); in Run()
360 if (kernel_->output_memory_types()[idx] == HOST_MEMORY) { in OutputDevice()
396 if (kernel_->input_memory_types()[i] == HOST_MEMORY) { in InputDevice()
Dexecute.cc340 } else if (MTypeFromDType(tensor_handle->dtype) == HOST_MEMORY) { in AddInputDevicesToCacheKey()
/external/tensorflow/tensorflow/compiler/jit/
Dcreate_xla_launch_op.cc192 input_memory_types[i] = HOST_MEMORY; in CreateXlaLaunchOp()
220 output_memory_types[i] = HOST_MEMORY; in CreateXlaLaunchOp()
Dcreate_xla_launch_op_test.cc112 EXPECT_EQ(HOST_MEMORY, kernel_->input_memory_types()[1]); in TEST_F()
Dpartially_decluster_pass.cc86 dst_input_mtypes[e->dst_input()] == HOST_MEMORY; in FindNodesToDecluster()
/external/tensorflow/tensorflow/core/kernels/
Dpartitioned_function_ops.cc143 if (MTypeFromDType(dtype) == HOST_MEMORY) { in FillOutputDevices()
195 } else if (MTypeFromDType(dtype) == HOST_MEMORY) { in Instantiate()
Dops_testutil.h58 (params->op_kernel->output_memory_types()[index] == HOST_MEMORY); in SetOutputAttrs()
Dpad_op.cc118 alloc_attrs.set_on_host(context->input_memory_type(0) == HOST_MEMORY); in Compute()
/external/tensorflow/tensorflow/core/graph/
Dgraph_partition.cc153 return dst_it->second == HOST_MEMORY; in IsDstInputOnHost()
206 host_memory = (src_it->second == HOST_MEMORY); in AddSend()
269 host_memory = (dst_it->second == HOST_MEMORY); in AddRecv()
/external/tensorflow/tensorflow/core/kernels/data/
Dsingle_threaded_executor.cc129 bool on_host = op_kernel->output_memory_types()[out] == HOST_MEMORY; in Initialize()
Ddataset_test_base.cc202 (params_->op_kernel->output_memory_types()[index] == HOST_MEMORY); in CreateOpKernelContext()
/external/tensorflow/tensorflow/core/debug/
Ddebug_graph_utils.cc151 graph, device_type, memory_type == HOST_MEMORY, src_node->name(), in InsertNodes()
/external/tensorflow/tensorflow/python/grappler/
Dcluster.i262 if (inp_mtypes[i] == tensorflow::HOST_MEMORY) { in TF_GetSupportedDevices()
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dlayout_optimizer.cc384 if (out_mtypes[output_port] == HOST_MEMORY) { in IsHostMemory()