Home
last modified time | relevance | path

Searched refs:UniqueDevice (Results 1 – 8 of 8) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_sharding.cc212 auto unique_device = tuple_element_sharding.UniqueDevice(); in UsedDevices()
219 auto unique_device = UniqueDevice(); in UsedDevices()
352 absl::optional<int64> HloSharding::UniqueDevice() const { in UniqueDevice() function in xla::HloSharding
359 auto device = tuple_sharding.UniqueDevice(); in UniqueDevice()
374 auto device = UniqueDevice(); in GetUniqueDevice()
Dhlo_sharding.h199 absl::optional<int64> UniqueDevice() const;
205 bool HasUniqueDevice() const { return UniqueDevice().has_value(); } in HasUniqueDevice()
Dhlo_sharding_metadata.cc196 return lhs->UniqueDevice() != rhs.UniqueDevice() in AssignLeafSharding()
Dhlo_instruction.h1397 return sharding_->UniqueDevice(); in sharding_unique_device()
Dlayout_assignment.cc922 auto device = sharding.UniqueDevice(); in SetupCopiedInstruction()
/external/tensorflow/tensorflow/compiler/jit/
Ddevice_util_test.cc72 TEST(PickDeviceForXla, UniqueDevice) { in TEST() argument
/external/tensorflow/tensorflow/compiler/xla/service/spmd/
Dspmd_partitioner.cc3785 root_sharding.UniqueDevice().has_value()) in PreprocessSharding()
3791 param->sharding().UniqueDevice().has_value()) in PreprocessSharding()
Dspmd_partitioner_util.cc183 if (partition_id == *sharding.UniqueDevice()) { in MakeNonPaddedShapeForGivenPartition()