| 103 | } |
| 104 | |
| 105 | uint32_t Kernel::GetDefaultGpuDeviceId() const |
| 106 | { |
| 107 | HandleMarshalledException_(); |
| 108 | std::lock_guard g{ mtx }; |
| 109 | if (!pm) { |
| 110 | return 0; |
| 111 | } |
| 112 | return pm->GetDefaultGpuDeviceId(); |
| 113 | } |
| 114 | |
| 115 | std::vector<pmon::AdapterInfo> Kernel::EnumerateAdapters() const |
| 116 | { |