Home
last modified time | relevance | path

Searched refs:cur_device_id (Results 1 – 6 of 6) sorted by relevance

/third_party/gstreamer/gstplugins_bad/sys/wasapi2/
Dgstwasapi2client.cpp674 std::string cur_device_id; in gst_wasapi2_client_activate_async() local
711 cur_device_id = convert_hstring_to_string (&id); in gst_wasapi2_client_activate_async()
712 if (cur_device_id.empty ()) { in gst_wasapi2_client_activate_async()
724 device_index, cur_device_id.c_str (), cur_device_name.c_str ()); in gst_wasapi2_client_activate_async()
728 cur_device_id.c_str ()); in gst_wasapi2_client_activate_async()
730 target_device_id = cur_device_id; in gst_wasapi2_client_activate_async()
736 g_ascii_strcasecmp (self->device_id, cur_device_id.c_str ()) == 0) { in gst_wasapi2_client_activate_async()
739 cur_device_id.c_str ()); in gst_wasapi2_client_activate_async()
741 target_device_id = cur_device_id; in gst_wasapi2_client_activate_async()
748 device_index, cur_device_id.c_str ()); in gst_wasapi2_client_activate_async()
[all …]
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/core/
Dascend_resource.cc36 int cur_device_id = *(resource.deviceIds.begin()); in InitResource() local
37 aclrtContext context = ascend_resource_->GetContext(cur_device_id); in InitResource()
/third_party/mindspore/mindspore/ccsrc/runtime/device/
Dkernel_runtime_manager.cc81 auto cur_device_id = cur_runtime_key.substr(find_pos + 1); in GetSingleKernelRuntime() local
82 … MS_LOG(EXCEPTION) << "Can't change device id in runtime, already set device id: " << cur_device_id in GetSingleKernelRuntime()
/third_party/mindspore/mindspore/ccsrc/runtime/device/gpu/
Dgpu_device_manager.h38 uint32_t cur_device_id() const;
Dcuda_common.h48 uint32_t device_id = GPUDeviceManager::GetInstance().cur_device_id(); in CudaCommon()
Dgpu_device_manager.cc94 uint32_t GPUDeviceManager::cur_device_id() const { return cur_dev_id_; } in cur_device_id() function in mindspore::device::gpu::GPUDeviceManager