implement oneMKL row-major -> cublas mapping

Aperta
#588 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à
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
cpp
Ambito
compilers

Direzione di ricerca

Start with the cuBLAS backend sources in the oneMath repository and compare them with the rocBLAS backend, which the issue says already handles row_major by swapping transpose flags. The work is to port those row_major BLAS wrappers to cuBLAS. Done means each row_major call maps correctly, which the issue does not spell out with a test to run.

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

Descrizione

BLAS domain help wanted

After https://github.com/oneapi-src/oneMKL/pull/586 the cublas -> oneMKL mappings are almost as complete as they can be according to the current oneMKL spec; although note that there are cuda cases that aren't exposed via oneMKL, see e.g. https://github.com/oneapi-src/oneMKL/issues/562. Also some low precision types are not implemented yet: https://github.com/oneapi-src/oneMKL/issues/506

However the oneMKL -> cublas mapping is not complete since row_major cases are not implemented.

cublas uses col_major, but takes a transpose bool. oneMKL also exposes a row_major option. rocblas is the same situation, and this patch:

https://github.com/oneapi-src/oneMKL/pull/428

mapped oneMKL row_major to rocblas implementation via clever usage of transposition.

The cublas backend could do the same, probably via mainly just copy pasting the row_major blas implementations from the rocblas backend.

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.