Comments (3)
I'm working on documentation, tests, examples, a Crates.io release, and yes eventually benchmarks.
But I will say that - Emu is a transparent (not opaque) abstraction over WebGPU. This means that you can always convert between Emu data structures and the underlying WebGPU data structures at zero cost. This is also how Emu enables zero-copy interop between compute and graphics.
from emu.
I see. Is there a roadmap/plan for now? If it is as you say, I may be interested in using for a project.
However, what is the planned interoperability with wasm/wgpu for the web?
From what I understand, one now needs to write kernels in glsl? Is there a plan to get rid of this necessity with something like rlsl?
from emu.
Is there a roadmap/plan for now
I'm hoping to finish some of this (meaning documentation, tests, examples, etc.) by end of weekend (can't promise on actually making complicated benchmarks to compare to WebGPU since I'm not a WebGPU expert) and a Crates.io release as soon as wgpu-rs gets its next release (currently Emu just uses the latest git dependency).
what is the planned interoperability with wasm/wgpu for the web?
I am planning to support WASM compilation and I imagine once support lands in wgpu-rs (which should be soon, they already have working demos on Firefox Nightly) there shouldn't be much to change in Emu.
one now needs to write kernels in glsl? Is there a plan to get rid of this necessity with something like rlsl?
Not really. You need to write kernels in SPIR-V and there is high-level functionality that lets you more easily write stuff using GLSL since that's the most popular compile-to-SPIR-V language out there. Unfortunately, RLSL seems to be mostly dead right now. I was thinking about trying to create some sort of low-level language that compiles to SPIR-V but honestly I don't think GLSL is that bad of an option for now.
from emu.
Related Issues (20)
- README instructions have various issues HOT 4
- Benchmarks + against WebGPU
- Compiling error HOT 8
- Add badges to readme.md HOT 2
- Work group sizes greater than 32 don't work on Intel integrated GPU
- Important internal optimizations, potential bug
- Implementing more traits for `DeviceBox`
- Questions regarding the project HOT 1
- Logo is an ostrich not an emu HOT 1
- Unable to run on Ubuntu 20.04 due to python command HOT 1
- Rustdoc documentation search bar does not work
- Example code given in readme doesn't seem to work HOT 6
- coreaudio-sys AudioUnit compile error on Windows & Linux HOT 2
- em compilation fails, traits not implemented, and some missing imports? HOT 2
- Khronos ML summit
- `.finish()` stage of the shader compilation segfaults on NVIDIA Vulkan driver HOT 1
- Example panics at runtime (`COPY_DST` flag) HOT 4
- How to pass a 2D array of floats? HOT 2
- Current Project Status Update? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from emu.