Home
last modified time | relevance | path

Searched refs:device_name_ (Results 1 – 24 of 24) sorted by relevance

/external/nos/host/generic/libnos/
DNuggetClient.cpp25 : device_name_(name), open_(false) { in NuggetClient()
29 : device_name_(name ? name : ""), open_(false) { in NuggetClient()
40 device_name_.empty() ? nullptr : device_name_.c_str(), &device_) == 0; in Open()
104 return device_name_; in DeviceName()
/external/tensorflow/tensorflow/compiler/tf2tensorrt/segment/
Dunion_find.cc129 : batch_size_(batch_size), device_name_(device_name) {} in ClusterProperty()
139 MergeIfCompatible(device_name_, other.device_name_); in Merge()
146 device_name_ = std::move(merged_device_name.value()); in Merge()
Dunion_find.h137 const DeviceNameUtils::ParsedName& DeviceName() const { return device_name_; } in DeviceName()
143 DeviceNameUtils::ParsedName device_name_; variable
/external/stressapptest/src/
Dworker.cc2610 device_name_ = device_name; in SetDevice()
2725 device_name_); in SetParameters()
2733 int fd = open(device_name_.c_str(), flags | O_DIRECT, 0); in OpenDevice()
2735 fd = open(device_name_.c_str(), flags, 0); // Try without O_DIRECT in OpenDevice()
2740 device_name_.c_str(), thread_num_); in OpenDevice()
2754 device_name_.c_str(), thread_num_); in GetDiskSize()
2765 device_name_.c_str(), thread_num_); in GetDiskSize()
2771 os_->ErrorReport(device_name_.c_str(), "device-size-zero", 1); in GetDiskSize()
2784 "device (thread %d).\n", device_name_.c_str(), in GetDiskSize()
2790 device_sectors_, device_name_.c_str(), thread_num_); in GetDiskSize()
[all …]
Ddisk_blocks.h150 const string& device_name() const { return device_name_; } in device_name()
164 string device_name_; // Device name variable
Ddisk_blocks.cc49 device_name_(""), device_sectors_(0), in DiskBlockTable()
191 device_name_ = device_name; in SetParameters()
201 "for sector data for disk %s.\n", device_name_.c_str()); in GetUnusedBlock()
Dworker.h761 string device_name_; // Name of device file to access. variable
/external/tensorflow/tensorflow/python/framework/
Dpython_tensor_converter.h49 device_name_(device_name) {} in PythonTensorConverter()
71 const char* device_name_; variable
Dpython_tensor_converter.cc84 tensorflow::ConvertToEagerTensor(ctx_, src, dtype, device_name_); in Convert()
/external/tensorflow/tensorflow/core/common_runtime/
Dscoped_allocator_mgr.h77 : device_name_(device_name) {} in ScopedAllocatorMgr()
101 const std::string& device_name() const { return device_name_; } in device_name()
104 std::string device_name_;
Dfunction.cc394 const string device_name_; member in tensorflow::FunctionLibraryRuntimeImpl
474 device_name_(device_ == nullptr in FunctionLibraryRuntimeImpl()
571 LocalHandle local_handle = parent_->GetHandleOnDevice(device_name_, h); in GetFunctionBody()
574 << " on device: " << device_name_; in GetFunctionBody()
589 LocalHandle local_handle = parent_->GetHandleOnDevice(device_name_, h); in GetRetTypes()
750 options_copy.target = device_name_; in Instantiate()
758 parent_->GetHandleOnDevice(device_name_, *handle); in Instantiate()
804 local_handle = parent_->GetHandleOnDevice(device_name_, *handle); in Instantiate()
807 *handle = parent_->AddHandle(key, device_name_, next_handle_); in Instantiate()
830 LocalHandle h = parent_->GetHandleOnDevice(device_name_, handle); in ReleaseHandle()
[all …]
/external/tensorflow/tensorflow/core/common_runtime/eager/
Deager_operation.h56 const string& DeviceName() const override { return device_name_; } in DeviceName()
74 device_name_ = absl::visit( in SetDevice()
77 DeviceNameUtils::ParseFullName(device_name_, &device_parsed_name_); in SetDevice()
237 string device_name_; variable
Deager_operation.cc457 device_name_ = DeviceNameUtils::ParsedNameToString(device_parsed_name_); in SetDeviceName()
495 strings::StrAppend(&out, "Device Name: [", device_name_, "]\n"); in DebugString()
/external/webrtc/modules/desktop_capture/win/
Ddxgi_output_duplicator.h72 const std::string& device_name() const { return device_name_; } in device_name()
118 const std::string device_name_; variable
Ddxgi_output_duplicator.cc68 device_name_(rtc::ToUtf8(desc.DeviceName)), in DxgiOutputDuplicator()
/external/tensorflow/tensorflow/c/eager/
Dc_api_unified_experimental_graph.cc104 device_name_ = raw_device_name; in Reset()
126 const string& DeviceName() const override { return device_name_; } in DeviceName()
130 device_name_ = name; in SetDeviceName()
320 string device_name_; member in tensorflow::tracing::graph::GraphOperation
/external/nos/host/generic/libnos/include/nos/
DNuggetClient.h96 std::string device_name_;
/external/tensorflow/tensorflow/c/eager/parallel_device/
Dparallel_device.cc55 : device_name_(name), parallel_device_(std::move(parallel_device)) {} in NamedParallelDevice()
56 const std::string& name() const { return device_name_; } in name()
60 std::string device_name_; member in tensorflow::parallel_device::__anon5d26a7fc0111::NamedParallelDevice
/external/tensorflow/tensorflow/core/kernels/
Dcollective_nccl_test.cc251 device_name_(device_name), in DeviceInstance()
254 TF_CHECK_OK(parent_->dev_mgr_->LookupDevice(device_name_, &device_)) in DeviceInstance()
255 << "Could not find device " << device_name_ << " existing devices " in DeviceInstance()
421 string device_name_; member in tensorflow::NcclTestBase::DeviceInstance
Ddebug_ops.h397 device_name_(context->device()->name()), in DebugIdentityV2Op()
437 tfdbg_context_id_, device_name_, op_name_, in Compute()
446 string device_name_; variable
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/c/
Dc_api_unified_experimental_mlir.cc214 string device_name_; member in mlir::TF::__anon2b880b700111::MlirAbstractOp
448 const string& MlirAbstractOp::DeviceName() const { return device_name_; } in DeviceName()
451 device_name_ = name; in SetDeviceName()
/external/tensorflow/tensorflow/c/
Dkernels_test.cc679 op_name, device_name_, nullptr, compute_func, nullptr); in SetupOp()
687 DeviceFactory::NewDevice(device_name_, {}, "/job:a/replica:0/task:0")); in SetupOp()
695 const char* device_name_ = tensorflow::DEVICE_GPU; member in tensorflow::DeviceKernelOpTest
697 const char* device_name_ = tensorflow::DEVICE_CPU; member in tensorflow::DeviceKernelOpTest
/external/tensorflow/tensorflow/lite/delegates/nnapi/
Dnnapi_delegate_kernel.h321 std::string device_name_; variable
/external/tensorflow/tensorflow/core/profiler/internal/gpu/
Dcupti_tracer.cc938 device_name_ = absl::StrCat("gpu ", ordinal); // default. in CudaEventRecorder()
943 device_name_ = name; in CudaEventRecorder()
1208 std::string device_name_; member in tensorflow::profiler::__anond046b8460111::CudaEventRecorder