Dart SIMD use case.
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 35/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Da chiarire
- Stato di attività
- Attiva
- Stack tecnologico
- dart, wasm
- Ambito
- compilers, performance
Direzione di ricerca
Inizia dal testo dell’issue e dalla discussione collegata su WebAssembly GC per comprendere il caso d’uso della scansione SIMD di Dart dart2wasm e il comportamento proposto per l’accesso agli array multibyte. Non vengono indicati file del repository né test, e non sono definiti criteri di completamento; l’issue avrebbe bisogno di una proposta concreta o di un criterio di accettazione prima che l’implementazione possa iniziare.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Hello!
I just wanted to briefly share some use cases for this in the Dart world.
We are working on adding better SIMD support to the dart2wasm compiler in Dart.
One of the use cases we can't support right now is an efficient SIMD based scan.
To be able to efficiently scan through a byte stream (or a string to implement the memchr equivalent in Dart called indexOf) using SIMD we'd need to have the ability to reinterpret parts of the backing storage as appropriate types that allow us to cheaply treat a chunk of it as a SIMD type.
Here's some more Dart use cases from another perspective from @osa1 in https://github.com/WebAssembly/gc/issues/395#issuecomment-1630391803
An 8x unrolled SIMD based scan can achieve 120GB/s on a modern mac using NEON. It would be great if use cases like these could be opened up with this proposal. Experiments show that we are at least an order of magnitude away from being able to reach those numbers with wasm gc.
- Lingua principale
- WebAssembly
- Stelle
- 4
- Fork
- 1
- Merge medio
- 16h 35m
- PR unite (30g)
- 1
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.
Altre issue di WebAssembly/multibyte-array-access
-
Half precision floats Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 50/100
WebAssembly/multibyte-array-access#8 · 1 commento ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
WebAssembly/multibyte-array-access#4 · 4 commenti ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
WebAssembly/multibyte-array-access#3 · 5 commenti ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
-
Text Format Aperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
WebAssembly/multibyte-array-access#1 · 1 commento ·
Tutte le issue di WebAssembly/multibyte-array-access
Issue simili
-
flang:fir-hlfir
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
llvm/llvm-project#225935 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
objectionary/eo#8923 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Coarray integration tests carry no LABELS, so run_tests.py silently skips them under every backend Apertacoarray
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100