Question: is a standard BLAS/CBLAS ABI layer on top of the generic backend in scope?

Aperta
#786 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à
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
8/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Attiva
Stack tecnologico
c, cpp, fortran
Ambito
api, backend

Direzione di ricerca

This is a scope question for the maintainers, not a code change, and the payload names no files or tests. Before starting, a newcomer would need the maintainers' answer on whether a standard BLAS/CBLAS layer belongs in oneMath or in a separate project. The three questions in the body are the ones to resolve. Done means those answers are recorded in the thread, and any RFC or PR should wait for them.

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

Descrizione

Hi,

I'm looking into a drop-in replacement for libblas/libcblas built on the generic SYCL BLAS backend, so that existing applications (LAPACK, NumPy, R, Fortran codes) can run on SYCL devices without code changes.

The idea is a thin layer that exports the standard Fortran (dgemm_, ...) and CBLAS (cblas_dgemm, ...) symbols, takes host pointers, handles the queue and device memory internally, synchronizes before returning, and falls back to the host for small problems. Roughly what NVBLAS does on top of cuBLAS, or the Netlib API in CLBlast.

Before writing an RFC I'd like to check a few things:

  1. Would something like this be in scope for oneMath, for example as an optional component, or do you see it as a separate project that depends on oneMath?
  2. If it's separate: is building oneMath with only the generic backend enabled the recommended way to use the generic-sycl-components BLAS kernels, or should I build against generic-sycl-components directly?
  3. I'll also need some routines the generic backend doesn't implement yet. Should those go as PRs to generic-sycl-components?

Thanks,
Foad

Lingua principale
C++
Stelle
777
Fork
183
Merge medio
2g 16h
PR unite (30g)
6

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 uxlfoundation/oneMath

Tutte le issue di uxlfoundation/oneMath

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.