You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm interested in using WebGPU for compute, I specifically want to try an Apache Arrow compute backend.
I was going through the WGSL reference last weekend, and noticed that data type support is very limited.
If I wanted to create a kernel that say takes a Vec of u16 values, is this something that's not possible with WGSL, or am I missing something?
I would want to support most of the Arrow supported data types (unsigned, signed, float) as a start, and from the reference I can't see how I'd do that.
Is this something that'd be possible with WGSL as the shader language, or would I have to use some other shader language and use naga to transpile (if that even makes sense)?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm interested in using WebGPU for compute, I specifically want to try an Apache Arrow compute backend.
I was going through the WGSL reference last weekend, and noticed that data type support is very limited.
If I wanted to create a kernel that say takes a Vec of u16 values, is this something that's not possible with WGSL, or am I missing something?
I would want to support most of the Arrow supported data types (unsigned, signed, float) as a start, and from the reference I can't see how I'd do that.
Is this something that'd be possible with WGSL as the shader language, or would I have to use some other shader language and use naga to transpile (if that even makes sense)?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions