Dart SIMD use case.
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 35/100
- Issue 类型
- 功能
- 描述清晰度
- 需要澄清
- 活跃度
- 活跃
- 技术栈
- dart, wasm
- 领域
- compilers, performance
调研方向
先阅读 issue 文本和链接的 WebAssembly GC 讨论,以了解 Dart dart2wasm SIMD 扫描用例以及提议的多字节数组访问行为。未指定任何仓库文件或测试,也未定义完成标准;在开始实现之前,该 issue 需要一个具体提案或验收标准。
由索引模型根据 Issue 内容生成。
描述
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.
- 主要语言
- WebAssembly
- 星标
- 4
- 派生
- 1
- 平均合并
- 16 小时 35 分钟
- 30 天内合并 PR
- 1
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
WebAssembly/multibyte-array-access 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 50/100
WebAssembly/multibyte-array-access#8 · 1 条评论 ·
-
难度 5/5 一周以上 新手友好度 25/100
WebAssembly/multibyte-array-access#4 · 4 条评论 ·
-
难度 5/5 一周以上 新手友好度 35/100
WebAssembly/multibyte-array-access#3 · 5 条评论 ·
-
难度 5/5 一周以上 新手友好度 25/100
-
Text Format 未关闭
难度 5/5 一周以上 新手友好度 25/100
WebAssembly/multibyte-array-access#1 · 1 条评论 ·
查看 WebAssembly/multibyte-array-access 的全部 Issue
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 75/100
bradcypert/plum#58 ·
-
flang:fir-hlfir
难度 2/5 1-3 小时 新手友好度 70/100
llvm/llvm-project#225935 ·
-
area:cards hand-tail ready-for-agent
难度 2/5 1-3 小时 新手友好度 65/100
fil-donadoni/tolaria#4446 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
objectionary/eo#8923 ·
-
难度 2/5 1-3 小时 新手友好度 75/100