MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / next_device_ids

Method next_device_ids

crates/openshell-core/src/gpu.rs:192–194  ·  view source on GitHub ↗

Return the next default device IDs and advance the cursor.

(&self, count: u32)

Source from the content-addressed store, hash-verified

190
191 /// Return the next default device IDs and advance the cursor.
192 pub fn next_device_ids(&self, count: u32) -> Result<Vec<String>, CdiGpuSelectionError> {
193 self.selected_device_ids(count, true)
194 }
195
196 fn selected_device_ids(
197 &self,

Calls 1

selected_device_idsMethod · 0.80