Expand description
Kronos - A compute-only Vulkan implementation in Rust
This crate provides a streamlined, compute-focused subset of the Vulkan API, removing all graphics functionality to achieve maximum GPU compute performance.
§Important: Linking Considerations
When using Kronos with the implementation feature, do NOT link to system Vulkan.
Kronos provides its own Vulkan implementation. Linking to both will cause symbol
conflicts where system Vulkan functions may be called instead of Kronos functions,
breaking multi-GPU support.
If you see ErrorInitializationFailed but don’t see “KRONOS vkCreateBuffer called”
in logs, your application is likely using system Vulkan instead of Kronos.
Re-exports§
pub use implementation::initialize_kronos;pub use implementation::vkCreateBuffer;pub use implementation::vkDestroyBuffer;pub use implementation::vkAllocateMemory;pub use implementation::vkFreeMemory;pub use implementation::vkCreateDevice;pub use implementation::vkDestroyDevice;pub use implementation::vkCreateInstance;pub use implementation::vkDestroyInstance;pub use core::*;pub use sys::*;pub use ffi::*;pub use implementation::*;
Modules§
- api
- Unified Safe API for Kronos Compute
- core
- Core Kronos types and structures
- ffi
- Foreign Function Interface for Kronos
- implementation
- Actual implementation of Kronos compute APIs
- sys
- System types and handles for Kronos
Constants§
- KRONOS_
API_ VERSION - Kronos API version
- KRONOS_
VERSION_ MAJOR - Version information
- KRONOS_
VERSION_ MINOR - KRONOS_
VERSION_ PATCH
Functions§
- make_
version - Make version number from major, minor, and patch numbers