Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WebGPU support #11

Open
JSeam2 opened this issue Jun 12, 2023 · 1 comment
Open

WebGPU support #11

JSeam2 opened this issue Jun 12, 2023 · 1 comment

Comments

@JSeam2
Copy link

JSeam2 commented Jun 12, 2023

Instead of building for alone, WebGPU provides the a wrapper which would be compatible with vulkan, metal, and more. This also allows the library to be called from the web supporting more web based GPU acceleration, opening more edge processing setups.

Is this something that would be worthwhile to build for sppark?

@dot-asm
Copy link
Collaborator

dot-asm commented Jun 15, 2023

Is this something that would be worthwhile to build for sppark?

It's kind of like asking about using twisted-pair cables in a metropolitan backbone network :-) But on a serious note. sppark is a conscious step away from platform-neutral gpu frameworks, and for a reason. Or rather about 10 of them. Though all spell with "perf" in the beginning and "mance" at the end. If the question is if it makes sense to support a platform-neutral framework in addition to CUDA, then no, not really. The said improvements are achieved not only by utilizing specific features of the Nvidia ISA, but even by controlling the register utilization, code size and carefully orchestrating the data transfers. Platform-neutral frameworks don't provide that kind of control. In other words the effort would be effectively independent, in which case it would be more appropriate to do it as a separate project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants