Expand description
§ironaccelerator-vulkan
Vulkan 1.3 Compute backend. Targets cross-vendor discrete and integrated GPUs that expose a Vulkan ICD, plus the Rust→WASM compute path on browsers that expose WebGPU on top of a Vulkan driver.
The crate is deliberately thin: enumerate physical devices, report their compute queue family + subgroup + FP16/INT8 support as capability bits, and let higher layers build pipelines out of SPIR-V modules. Shader translation is not this crate’s job — bring your own SPIR-V, the same way the CUDA backend takes PTX. It intentionally avoids wrapping every Vulkan object in a safe RAII type — the same “throughput over guard-rails” stance the rest of IronAccelerator takes.
Re-exports§
pub use backend::VulkanBackend;pub use backend::VULKAN_BACKEND;pub use compute::Buffer;pub use compute::ComputePipeline;pub use compute::Context;pub use drv::enumerate;pub use drv::PhysicalDevice;
Modules§
- backend
- Vulkan
Backendimpl. Enumerates physical devices via a process-wide Vulkan 1.3 instance; reports unavailable whenlibvulkancannot be loaded. - compute
- Vulkan compute dispatch skeleton.
- drv
- Vulkan driver wrappers — instance + physical-device enumeration.
Functions§
- register
- Register the Vulkan backend into the given registry. Idempotent.