How to develop code in Vulkan using Julia?

I am looking to see if it is possible to generate SPIR-V code from Julia that can be used in Vulkan (Compute). Or something that can transform Julia code to Vulkan for compute purposes.

The intention is to write a code in Julia that could run in Raspberry pi 5 or other single board computers supporting Vulkan and also potentially be able to compile as standalone using Package compiler.

I would be interested to contribute to the package if required.

1 Like

The home page for Julia GPU efforts is: https://juliagpu.org, listing several backends. Vulkan doesn’t seem to be among them currently. BTW I moved this to the GPU part of the forum, feel free to revert if you disagree.

EDIT: ah, sorry, relevant packages do exist, but are not listed on that site:

  • Vulkan.jl
  • VulkanCore.jl (lower-level binding, dependency of the above)
  • ShaderAbstractions.jl