3 ms·
This is done in rust-gpu[1] by the `spirv(workgroup)` attribute on the kernel function signature. [1]: https://github.com/EmbarkStudios/rust-gpu/blob/46c9ea0c9
by raphlinus 5y ago
This is done in rust-gpu[1] by the `spirv(workgroup)` attribute on the kernel function signature.
[1]: https://github.com/EmbarkStudios/rust-gpu/blob/46c9ea0c9c7b7c6acfe83ad3dfaccfa21629d658/docs/src/attributes.md#workgroup-shared-memory https://github.com/EmbarkStudios/rust-gpu/blob/46c9ea0c9c7b7...