Home
last modified time | relevance | path

Searched refs:kXlaClusterAttr (Results 1 – 12 of 12) sorted by relevance

/external/tensorflow/tensorflow/compiler/jit/
Dpartially_decluster_pass_test.cc141 clustered_producer->AddAttr(kXlaClusterAttr, "cluster_0"); in TEST()
142 clustered_consumer->AddAttr(kXlaClusterAttr, "cluster_0"); in TEST()
178 clustered_producer->AddAttr(kXlaClusterAttr, "cluster_0"); in TEST()
179 clustered_consumer->AddAttr(kXlaClusterAttr, "cluster_0"); in TEST()
180 consumer_in_different_cluster->AddAttr(kXlaClusterAttr, "cluster_1"); in TEST()
208 clustered_producer->AddAttr(kXlaClusterAttr, "cluster_0"); in TEST()
209 clustered_consumer->AddAttr(kXlaClusterAttr, "cluster_0"); in TEST()
210 consumer_in_different_cluster->AddAttr(kXlaClusterAttr, "cluster_1"); in TEST()
239 clustered_producer->AddAttr(kXlaClusterAttr, "cluster_0"); in TEST()
240 clustered_consumer->AddAttr(kXlaClusterAttr, "cluster_0"); in TEST()
[all …]
Dencapsulate_xla_computations_pass.cc36 const char* const EncapsulateXlaComputationsPass::kXlaClusterAttr = member in tensorflow::EncapsulateXlaComputationsPass
48 EncapsulateXlaComputationsPass::kXlaClusterAttr, &name) in IsCpuGpuCompile()
182 AddNodeAttr(EncapsulateXlaComputationsPass::kXlaClusterAttr, call_def->name(), in RewriteSubgraph()
218 e->src()->attrs().Find(kXlaClusterAttr) != nullptr && in Encapsulate()
219 e->dst()->attrs().Find(kXlaClusterAttr) == nullptr && in Encapsulate()
235 kXlaClusterAttr, "", **graph, RewriteSubgraph, in Encapsulate()
249 if (GetNodeAttr(n->attrs(), kXlaClusterAttr, &name).ok()) { in BuildXlaLaunchOps()
Dxla_cluster_util.cc37 const char* const kXlaClusterAttr = "_XlaCluster"; variable
205 const AttrValue* attr_value = node.attrs().Find(kXlaClusterAttr); in GetXlaClusterForNode()
224 node_def->mutable_attr()->erase(kXlaClusterAttr); in RemoveFromXlaCluster()
227 void RemoveFromXlaCluster(Node* node) { node->ClearAttr(kXlaClusterAttr); } in RemoveFromXlaCluster()
Dxla_fusion_optimizer.cc171 status = GetNodeAttr(node->attrs(), kXlaClusterAttr, &compile); in Optimize()
338 n->AddAttr(kXlaClusterAttr, name); in Optimize()
Dencapsulate_xla_computations_pass.h37 static const char* const kXlaClusterAttr; // _xla_compile_id
Dencapsulate_xla_computations_pass_test.cc59 .Attr(EncapsulateXlaComputationsPass::kXlaClusterAttr, "launch0") in MakeOuterGraph()
110 node->AddAttr(EncapsulateXlaComputationsPass::kXlaClusterAttr, "launch0"); in MakeBodyGraph()
158 node->AddAttr(EncapsulateXlaComputationsPass::kXlaClusterAttr, in TEST()
219 node->AddAttr(EncapsulateXlaComputationsPass::kXlaClusterAttr, "launch0"); in TEST()
Dmark_for_compilation_pass.h29 extern const char* const kXlaClusterAttr;
Dxla_cluster_util.h32 extern const char* const kXlaClusterAttr;
Dxla_fusion_optimizer_test.cc38 if (GetNodeAttr(AttrSlice(node), kXlaClusterAttr, &cluster).ok()) { in GetClusters()
Dmark_for_compilation_pass.cc1338 n->AddAttr(kXlaClusterAttr, name); in RunImpl()
Dmark_for_compilation_pass_test.cc54 if (GetNodeAttr(node->attrs(), kXlaClusterAttr, &cluster).ok()) { in GetClusters()
Dencapsulate_subgraphs_pass.cc2666 kXlaClusterAttr, kXlaOutsideCompilationAttr, **options.graph, in Run()