Replies: 3 comments
-
What would that buy us over Rusticl+Zink? Without Rusticl, we'd need to use Vulkan APIs (or Metal APIs in your hypothetical Vulkan shard -> MSL), which seems like a step back. |
Beta Was this translation helpful? Give feedback.
-
Ah, my intention for this was primarily finding a way for OpenCL kernels to run directly on the web (in the browser) through compiling the Vulkan SPIRV Rusticl+Zink produce to WGSL. Primary usecase being writing functions in a Pluto that survive export to static HTML, for greater portability of Pluto notebooks. |
Beta Was this translation helpful? Give feedback.
-
Yeah, let's maybe move this to a discussion then. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Mesa's ZINK can output appropriate Vulkan SPIR-V from OpenCL (when using the bda backend)
These Vulkan shaders can be compiled to MSL, WGSL and HLSL by tools like SPIRV-Cross and Naga
It would be interesting to see if we can extend OpenCL.jl's compatibility even further using these tools.
Related to and depends on: #330 #311
Beta Was this translation helpful? Give feedback.
All reactions