oneapi-src / oneapi-src/level-zero
Sub devices and Sysman API
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- C++
- Sterne
- 335
- Forks
- 140
- Ø Merge
- 12 Std. 32 Min.
- Gemergte PRs (30 T.)
- 5
Beschreibung
Maybe just a clarification is needed. But I see this in the specification:
https://spec.oneapi.io/level-zero/latest/core/PROG.html#sub-device-support
** a sub-device can be partitioned into more sub-devices; e.g. down to a single slice.**
Let's say I wanted to enumerate all the sub-devices on a device, does this mean I need to recursively call zeDeviceGetSubDevices
until I get zero sub-devices or does the root device enumerate all possible sub-devices directly with a single call?
I ask because the Sysman API notes that
A Sysman device handle operates at the device level. If a sub-device device handle is passed to any of the Sysman functions, the result will be as if the device handle was used.
If there are sub-devices strictly under sub-devices, then what would a Sysman call with argument device.sub_device.sub_device refer to? device or device.sub_device?
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne mit der verlinkten Level Zero sub-device support specification und den im Issue zitierten Sysman API-Hinweisen. Ermittle, ob sub-devices rekursiv aufgezählt werden müssen und was ein Sysman-Aufruf für verschachtelte Handles erhält; abgeschlossen ist dies, wenn die Spezifikation beide Verhaltensweisen eindeutig definiert.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Bereich
- api, documentation
- Issue-Typ
- Dokumentation
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 25/100