Open question: How to deal with buffers that need lots of reads/writes
@MendyBerger is already working on this.
Since Mar 1, 2024.
Assessment
This issue has not been assessed yet.
Description
There are a few cases where we'll have buffers that need to take lots of reads/writes, and are not in linear memory.
Examples include gpu-buffer when mapped to CPU, and frame-buffers.
How should we go about those?
Here are some options I've thought of, none of them seem particularly good to me:
- Just copy everything over as
list<u8>. Obviously slow. - Have an external resource, with
.get()/.set()methods. Prob slow since every.get()/.set()will have to cross the wasm boundary, but might still be best option with current capabilities. - Find some magic way to map it to linear memory. Don't think this is actually possible.
Thoughts anyone?
- Dominant language
- Rust
- Stars
- 220
- Forks
- 15
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from WebAssembly/wasi-webgpu
-
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
WebAssembly/wasi-webgpu#72 ·
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
WebAssembly/wasi-webgpu#66 · 1 comment ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
WebAssembly/wasi-webgpu#62 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
WebAssembly/wasi-webgpu#61 · 2 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 42/100
WebAssembly/wasi-webgpu#60 · 2 comments ·
All issues in WebAssembly/wasi-webgpu
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
gitbutlerapp/gitbutler#15998 · 1 comment ·
-
bug triage:deciding
Difficulty 1/5 Under an hour Newbie friendliness 88/100
open-telemetry/otel-arrow#4132 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100