Clarification who ones FD on cl_arm_import_memory_dma_buf

Aperta
#1,634 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
48/100
Tipo di issue
Documentazione
Chiarezza
Da chiarire
Stato di attività
Attiva
Ambito
documentation

Direzione di ricerca

Read the documentation for cl_arm_import_memory_dma_buf and compare its ownership wording with cl_khr_external_memory_dma_buf, as quoted in the issue. Determine whether the ARM extension specifies who owns the file descriptor after a successful import, then update the relevant extension documentation to make that behavior clear.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Heya, I'm just looking for some clarification on who (the application or the runtime) takes ownership of the FD when using the cl_arm_import_memory_dma_buf extension?

While the docs for this extension stay ambiguous, the docs for cl_khr_external_memory_dma_buf clearly states the following, and I was wondering if this applies to cl_arm_import_memory_dma_buf as well?

For these extensions, importing memory from a file descriptor transfers ownership of the file descriptor from the application to the OpenCL implementation. The application must not perform any operations on the file descriptor after a successful import. The imported memory object holds a reference to its payload.

Thanks in advance!

Lingua principale
Python
Stelle
427
Fork
137
Merge medio
3g 21h
PR unite (30g)
4

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di KhronosGroup/OpenCL-Docs

Tutte le issue di KhronosGroup/OpenCL-Docs

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.