Searched refs:kXlaOutsideCompilationAttr (Results 1 – 10 of 10) sorted by relevance
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/ |
D | mark_ops_for_outside_compilation.cc | 43 constexpr char kXlaOutsideCompilationAttr[] = "_xla_outside_compilation"; variable 264 if (parent->getAttrOfType<StringAttr>(kXlaOutsideCompilationAttr)) in HasOutsideCompiledAncestor() 277 if (op->hasAttrOfType<StringAttr>(kXlaOutsideCompilationAttr)) in MarkVariantInputsOutputs() 291 kXlaOutsideCompilationAttr)) { in MarkVariantInputsOutputs() 293 kXlaOutsideCompilationAttr, in MarkVariantInputsOutputs() 305 !user->getAttrOfType<StringAttr>(kXlaOutsideCompilationAttr)) { in MarkVariantInputsOutputs() 306 user->setAttr(kXlaOutsideCompilationAttr, in MarkVariantInputsOutputs() 334 op->setAttr(kXlaOutsideCompilationAttr, in MarkUncompilableOps() 357 if (iter_op->hasAttrOfType<StringAttr>(kXlaOutsideCompilationAttr)) { in ContainsUncompilableOps() 377 if (!op->getAttrOfType<StringAttr>(kXlaOutsideCompilationAttr)) return; in UnmarkChildren() [all …]
|
D | outside_compiled_to_host_launch.cc | 31 constexpr char kXlaOutsideCompilationAttr[] = "_xla_outside_compilation"; variable 54 host_op->removeAttr(StringAttr::get(context, kXlaOutsideCompilationAttr)); in WrapOpInLaunch() 65 if (op->hasAttrOfType<StringAttr>(kXlaOutsideCompilationAttr)) { in runOnOperation()
|
D | tpu_host_computation_expansion.cc | 36 constexpr char kXlaOutsideCompilationAttr[] = "_xla_outside_compilation"; variable 39 return op->getAttrOfType<StringAttr>(kXlaOutsideCompilationAttr) != nullptr; in HasOutsideCompilationAttribute() 108 head_outside_compiled_op->setAttr(kXlaOutsideCompilationAttr, in ExpandHeadOutsideCompiledOps()
|
D | tpu_update_embedding_enqueue_op_inputs.cc | 39 constexpr char kXlaOutsideCompilationAttr[] = "_xla_outside_compilation"; variable 132 embedding_op->getAttrOfType<StringAttr>(kXlaOutsideCompilationAttr); in UpdateEmbeddingEnqueueOpInput() 134 enqueue_mode->setAttr(kXlaOutsideCompilationAttr, in UpdateEmbeddingEnqueueOpInput()
|
D | host_launch_to_outside_compiled.cc | 35 constexpr char kXlaOutsideCompilationAttr[] = "_xla_outside_compilation"; variable 46 op->setAttr(kXlaOutsideCompilationAttr, in MarkOutsideCompiledInRegion()
|
D | tpu_extract_outside_compilation.cc | 56 constexpr char kXlaOutsideCompilationAttr[] = "_xla_outside_compilation"; variable 122 if (walked_op->hasAttrOfType<StringAttr>(kXlaOutsideCompilationAttr)) { in HasOutsideCompilationNested() 133 if (op->hasAttrOfType<StringAttr>(kXlaOutsideCompilationAttr)) { in HasOutsideCompilationAncestor() 415 op->setAttr(kXlaOutsideCompilationAttr, in MarkOutsideCompiled() 602 !op.hasAttrOfType<StringAttr>(kXlaOutsideCompilationAttr)) in MoveOpsToHost() 711 if (op->hasAttrOfType<StringAttr>(kXlaOutsideCompilationAttr)) { in RemoveOutsideCompilation() 713 StringAttr::get(op->getContext(), kXlaOutsideCompilationAttr)); in RemoveOutsideCompilation()
|
D | tpu_extract_head_tail_outside_compilation.cc | 55 constexpr char kXlaOutsideCompilationAttr[] = "_xla_outside_compilation"; variable 58 return op->getAttrOfType<StringAttr>(kXlaOutsideCompilationAttr) != nullptr; in HasOutsideCompilationAttribute() 191 head_outside_compiled_op->removeAttr(kXlaOutsideCompilationAttr); in CreateHeadComputation() 303 tail_outside_compiled_op->removeAttr(kXlaOutsideCompilationAttr); in CreateTailComputation()
|
/external/tensorflow/tensorflow/compiler/tf2xla/ |
D | tf2xla_defs.h | 37 inline constexpr absl::string_view kXlaOutsideCompilationAttr = variable 54 kXlaOutsideCompilationAttr,
|
D | functionalize_cond.cc | 960 if (GetNodeAttr(if_node->def(), kXlaOutsideCompilationAttr, in AddIdentityNode() 963 id_builder.Attr(kXlaOutsideCompilationAttr, outside_compilation); in AddIdentityNode()
|
/external/tensorflow/tensorflow/compiler/jit/ |
D | compilability_check_util.cc | 80 return n.attrs().Find(kXlaOutsideCompilationAttr) != nullptr; in IsInOutsideCompilationCluster()
|