- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for device_vendor (0.35 sec)
-
tensorflow/c/experimental/stream_executor/stream_executor_test.cc
SE_CreateDeviceParams* params, TF_Status* status) { params->device->hardware_name = hardware_name; params->device->device_vendor = vendor; params->device->pci_bus_id = pci_bus_id; }; device_fns_.get_numa_node = [](const SP_Device* device) { return 123; }; device_fns_.get_memory_bandwidth = [](const SP_Device* device) -> int64_t {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon May 20 19:54:04 UTC 2024 - 26.5K bytes - Viewed (0) -
tensorflow/c/experimental/stream_executor/stream_executor.cc
internal::DeviceDescriptionBuilder builder; if (device_.hardware_name != nullptr) { builder.set_name(device_.hardware_name); } if (device_.device_vendor != nullptr) { builder.set_device_vendor(device_.device_vendor); } if (device_.pci_bus_id != nullptr) { builder.set_pci_bus_id(device_.pci_bus_id); } if (device_fns_->get_numa_node != nullptr) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Jun 14 07:39:19 UTC 2024 - 27.1K bytes - Viewed (0) -
tensorflow/c/experimental/stream_executor/stream_executor.h
// Must be null-terminated. const char* hardware_name; // [Optional] // Device vendor name. Used for printing. // Must be null-terminated. const char* device_vendor; // [Optional] // Returns the PCI bus identifier for this device, of the form // [domain]:[bus]:[device].[function] // where domain number is usually 0000. // Example: 0000:00:02.1
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Aug 24 08:40:35 UTC 2022 - 21.6K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_device_context.cc
device_tensor->shape(), device_tensor->dtype(), std::nullopt); Status status = [&]() -> Status { TF_ASSIGN_OR_RETURN(xla::Shape shape, shape_determination_fns_.shape_representation_fn( device_tensor->shape(), device_tensor->dtype(), /*fast_mem=*/false, layout_preference)); // The device tensor should always be fresh.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 16 00:36:08 UTC 2024 - 12.7K bytes - Viewed (0) -
tensorflow/compiler/jit/pjrt_device_context.cc
// tensor. absl::StatusOr<Tensor> t = MakeTensorFromPjRtBuffer( device_tensor->dtype(), device_tensor->shape(), std::move(*buffer_or)); if (!t.ok()) { done(t.status()); return; } *device_tensor = *t; } else { AsyncValueTensor* result_tensor = tensorflow::AsyncValueTensor::FromTensor(device_tensor); // The result tensor should be newly allocated, which does not point to a
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 13 08:49:31 UTC 2024 - 11.6K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_launch_util_test.cc
Tensor* host_tensor = CreateHostTensor<T>(shape, data); Tensor* device_tensor = new Tensor(device_allocator_, DataTypeToEnum<T>::v(), shape); TF_EXPECT_OK(device_context_->CopyCPUTensorToDeviceSync( host_tensor, device_, device_tensor)); tensors_.push_back(device_tensor); return device_tensor; } // Gets the `output_index`-th output set in the context_
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 21 09:53:30 UTC 2024 - 28.8K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_launch_util_gpu_test.cc
Tensor* host_tensor = CreateHostTensor<T>(shape, data); Tensor* device_tensor = new Tensor(device_allocator_, DataTypeToEnum<T>::v(), shape); TF_EXPECT_OK(device_context_->CopyCPUTensorToDeviceSync( host_tensor, device_, device_tensor)); tensors_.push_back(device_tensor); return device_tensor; } // Compiles the op set in the context_ to a PjRtLoadedExecutable
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 10K bytes - Viewed (0) -
tensorflow/compiler/jit/kernels/xla_ops.cc
args.device_context = new XlaHostSendDeviceContext( stream, device_memory_base, shape, done_event); Tensor device_tensor; bool is_dead; TF_RETURN_IF_ERROR(ctx->rendezvous()->Recv( parsed_key, args, &device_tensor, /*is_dead=*/&is_dead)); return std::move(done_event); }; } absl::StatusOr<xla::ExecutionOutput> RunExecutable(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 22:46:36 UTC 2024 - 41.4K bytes - Viewed (0)