3 ms·
You may not like it but it's pretty clear that WSL is at least a starter. It has a spec, a test suite, and an implementation (which fully implements safety). An
by om2 7y ago
You may not like it but it's pretty clear that WSL is at least a starter. It has a spec, a test suite, and an implementation (which fully implements safety). And the implementation is pretty fast, and should at least dispel WSL vs SPIR-V performance concerns.
This is arguably ahead of the proposed web dialect of SPIR-V (which needs to subset the language, add validation steps, and insert safety checks).
- kangz 7y agoThe SPIR-V for WebGPU has the subsetting of the language at [1], validation is fully implemented in spirv-val and as are the safety checks in spirv-opt. SPIR-V is also proven to compile to all the target APIs for WebGPU, while WSL only has a MSL transpiler right now. [1] https://github.com/gpuweb/spirv-execution-env/blob/master/execution-env.md https://github.com/gpuweb/spirv-execution-env/blob/master/ex...