Searched refs:cur_device_id (Results 1 – 6 of 6) sorted by relevance
674 std::string cur_device_id; in gst_wasapi2_client_activate_async() local711 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 …]
36 int cur_device_id = *(resource.deviceIds.begin()); in InitResource() local37 aclrtContext context = ascend_resource_->GetContext(cur_device_id); in InitResource()
81 auto cur_device_id = cur_runtime_key.substr(find_pos + 1); in GetSingleKernelRuntime() local82 … MS_LOG(EXCEPTION) << "Can't change device id in runtime, already set device id: " << cur_device_id in GetSingleKernelRuntime()
38 uint32_t cur_device_id() const;
48 uint32_t device_id = GPUDeviceManager::GetInstance().cur_device_id(); in CudaCommon()
94 uint32_t GPUDeviceManager::cur_device_id() const { return cur_dev_id_; } in cur_device_id() function in mindspore::device::gpu::GPUDeviceManager