No specified maximum length for a kernel name

Aperta
#1,490 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
c
Ambito
documentation

Direzione di ricerca

L’issue non indica alcun file sorgente né alcun test. Inizia esaminando le sezioni pertinenti delle specifiche OpenCL C e SPIR-V e l’issue CTS collegata; il lavoro è completo quando il progetto ha concordato un limite per i nomi dei kernel e ha documentato requisiti coerenti per entrambi i linguaggi, con qualsiasi convalida necessaria identificata.

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

Descrizione

A while ago I requested that we add testing for kernels with long names to the CTS (https://github.com/KhronosGroup/OpenCL-CTS/issues/2422). As part of creating the issue, I was looking for a statement about the maximum length in the specification but could not find any at the time. There doesn't seem to be any limit at all in OpenCL C and it seems we default to universal SPIR-V limits in SPIR-V programs.

Should we have a specified maximum length for kernel names? It seems like it would be useful for applications/middleware that generate long kernel names.

We may want something like a device query with a mandated minimum value or maybe just a mandated minimum value? We probably want the same limit to apply to both OpenCL C and SPIR-V so conversions and round-tripping are possible.

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.