- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 27 for _device_ordinal (0.21 sec)
-
tensorflow/compiler/jit/extract_outside_compilation_pass.cc
n->ClearAttr(attr_name); n->AddAttr(attr_name, branch_func); } } else if (HasNodeAttr(n->def(), "_device_ordinal")) { // Function call node containing outside compilation. n->ClearAttr("_device_ordinal"); n->AddAttr("_device_ordinal", device_ordinal_value); } else { return errors::Internal("Unknown node marked with ",
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 12 06:33:33 UTC 2024 - 104.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/device_util_test.cc
int64_t device_ordinal0 = -1; mlir::LogicalResult result0 = GetDeviceOrdinalFromDeviceString(unknown_loc, tpu0, &device_ordinal0); EXPECT_TRUE(mlir::succeeded(result0)); EXPECT_EQ(device_ordinal0, 0); int64_t device_ordinal1 = -1; mlir::LogicalResult result1 = GetDeviceOrdinalFromDeviceString(unknown_loc, tpu1, &device_ordinal1); EXPECT_TRUE(mlir::succeeded(result1));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 9.5K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_device.cc
: device_ordinal_(device_ordinal), device_type_(device_type), platform_(platform), shape_determination_fns_(std::move(shape_determination_fns)), padded_shape_fn_(std::move(padded_shape_fn)), use_multiple_streams_(use_multiple_streams) {} int XlaDevice::Metadata::device_ordinal() const { return device_ordinal_; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon May 20 21:05:42 UTC 2024 - 24.3K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_device.h
class Metadata { public: Metadata(int device_ordinal, se::Platform* platform, const DeviceType& device_type, std::vector<XlaShapeLayoutHelpers::ShapeDeterminationFns> shape_determination_fns, PaddedShapeFn padded_shape_fn, bool use_multiple_streams); // The index of the device on this host. int device_ordinal() const; se::Platform* platform() const;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 21 09:53:30 UTC 2024 - 13.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/passes/extract_outside_compilation.cc
Value device_ordinal, StringAttr device_type_attr, llvm::StringRef communication_key) { if (device_ordinal) return ApplyXlaHostTransferAttr( builder.create<mlir::TF::_XlaSendFromHostV2Op>( loc, inputs, /*dynamic_key=*/compilation_key, device_ordinal,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 21:25:12 UTC 2024 - 68.3K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_compiler_options_util.cc
inline void LogOptions(const XlaCompiler::Options& options) { VLOG(2) << "XlaCompiler::Options[device_type=" << options.device_type << ",device_ordinal=" << options.device_ordinal << ",client=" << options.client << ",flib_def=" << options.flib_def << ",graph_def_version=" << options.graph_def_version << ",options.shape_determination_fns.layout_preference_fn?="
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 21 09:53:30 UTC 2024 - 6.4K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_launch_util.cc
xla::LocalClient* client, se::DeviceMemoryAllocator* xla_allocator, int device_ordinal, bool allocate_xla_tensors, bool use_multiple_streams) : client_(client), xla_allocator_(xla_allocator), allocate_xla_tensors_(allocate_xla_tensors), use_multiple_streams_(use_multiple_streams), device_ordinal_(device_ordinal) { if (use_multiple_streams_) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 16 00:36:08 UTC 2024 - 40.4K bytes - Viewed (0) -
tensorflow/compiler/jit/pjrt_base_device.h
Options(std::string device_name_prefix, std::string device_name, int device_ordinal, std::string compilation_device_name, std::vector<XlaShapeLayoutHelpers::ShapeDeterminationFns> shape_determination_fns) : device_name_prefix(device_name_prefix), device_name(device_name), device_ordinal(device_ordinal), compilation_device_name(compilation_device_name),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 21 12:19:41 UTC 2024 - 4K bytes - Viewed (0) -
tensorflow/compiler/jit/pjrt_base_device.cc
const string& device_name, int device_ordinal) { return Device::BuildDeviceAttributes( absl::StrCat(name_prefix, "/device:", device_name, ":", device_ordinal), DeviceType(device_name), Bytes(16ULL << 30), DeviceLocality(), absl::StrCat("device: ", device_name, " device")); } } // namespace
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 21 12:19:41 UTC 2024 - 2.5K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_tensor.cc
int device_ordinal) { xla::Shape on_host_shape = xla::ShapeUtil::DeviceShapeToHostShape(on_device_shape); xla::ScopedShapedBuffer shaped_buffer(on_host_shape, on_device_shape, client->backend().memory_allocator(), device_ordinal); for (auto& index_to_buffer : shaped_buffer.buffers()) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 08:47:20 UTC 2024 - 4.5K bytes - Viewed (0)