oneapi-src / oneapi-src/level-zero
Question: Reusing Command Lists without reset?
Nessuno ha ancora preso questa issue.
- Lingua principale
- C++
- Stelle
- 335
- Fork
- 140
- Merge medio
- 12h 32m
- PR unite (30g)
- 5
Descrizione
This is a question about the Level Zero API.
I have the following sequence of instructions in which I accidentally forgot to reset. Once the command list is closed, I can still append commands into the command lists without getting any error/s. Is this behaviour expected?
Perhaps getting something like ZE_INVALID_COMMAND_LIST?
zeCommandListCreate -> Status: 0
zeMemAllocDevice -> Status: 0
zeModuleCreate -> Status: 0
zeModuleBuildLogDestroy -> Status: 0
zeKernelCreate -> Status: 0
zeCommandListReset -> Status: 0
zeKernelSuggestGroupSize -> Status: 0
zeKernelSuggestGroupSize -> Status: 0
zeKernelSetArgumentValue -> Status: 0
zeCommandListAppendLaunchKernel -> Status: 0
zeCommandListAppendBarrier -> Status: 0
zeCommandListAppendMemoryCopy -> Status: 0
zeCommandListAppendBarrier -> Status: 0
zeCommandListClose -> Status: 0
zeCommandQueueExecuteCommandLists -> Status: 0
zeCommandQueueSynchronize -> Status: 0
zeCommandListAppendMemoryCopy -> Status: 0 << Shouldn't we get an error? The list was already closed.
zeCommandListAppendBarrier -> Status: 0
Thank you,
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
L’issue riguarda il comportamento dell’API command-list di Level Zero e non indica alcun file del repository né alcun test. Inizia leggendo le specifiche del ciclo di vita di command-list e di append-command; il lavoro sarebbe completo con una risposta chiara a livello di API o con il relativo chiarimento della specifica sull’aggiunta dopo la chiusura e il reset.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- cpp
- Ambito
- api
- Tipo di issue
- Documentazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 25/100