docs.rs failed to build memkit-gpu-0.2.0-beta.1
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
memkit-gpu-0.1.0-alpha.1
◈ MEMKIT GPU ◈
[ HARDWARE-AGNOSTIC GPU MEMORY LAYER ]
██████╗ ██████╗ ██╗ ██╗
██╔════╝ ██╔══██╗██║ ██║
██║ ███╗██████╔╝██║ ██║
██║ ██║██╔═══╝ ██║ ██║
╚██████╔╝██║ ╚██████╔╝
╚═════╝ ╚═╝ ╚═════╝
"Heterogeneous memory management without the friction."
Type-safe, backend-agnostic GPU memory management for the Memkit ecosystem. Bridge the gap between CPU-visible staging and device-local hardware memory.
◈ QUICK START • ◈ BACKENDS • ◈ ARCHITECTURE
◈ THE GPU ADVANTAGE
| Feature | Standard Global | Memkit GPU | Results |
|---|---|---|---|
| Latency | Jitter-prone | Deterministic | Frame consistency |
| Backend | Native-only | Multi-backend | Cross-platform |
| Safety | Manual pointers | Type-safe | No memory leaks |
| Transfers | Ad-hoc | Batched | Minimized stalls |
◈ FEATURES
┌─────────────────────────────────────────────────────────────────────────┐
│ ◆ STAGING │ Explicit management of CPU-visible memory. Optimized │
│ │ for fast uploads and data streaming. │
├─────────────────────────────────────────────────────────────────────────┤
│ ◆ DEVICE │ GPU-local memory allocation. Type-safe buffers for │
│ │ Vertices, Indices, and Unifroms. │
├─────────────────────────────────────────────────────────────────────────┤
│ ◆ BATCHING │ Coalesced transfers to minimize command buffer │
│ │ recording overhead. │
└─────────────────────────────────────────────────────────────────────────┘
◈ QUICK START
use ;
// Initialize with Dummy backend for simulation
let gpu = new;
// Create staging buffer (CPU-visible)
let vertices: & = &;
let staging = gpu.staging_buffer_with_data.unwrap;
// Create device-local buffer (GPU-fast)
let device = gpu.create_device_buffer.unwrap;
// Batch transfer from Staging to Device
gpu.transfer.unwrap;
◈ SUPPORTED BACKENDS
| Backend | Feature Flag | Status |
|---|---|---|
| Vulkan | vulkan |
PRODUCTION READY |
| Dummy | (default) | TEST READY |
| Metal | metal |
🚧 COMING SOON |
| DX12 | dx12 |
🚧 COMING SOON |
To enable Vulkan:
= { = "0.2.0-beta.1", = ["vulkan"] }
◈ ARCHITECTURE
graph TD
User([User Application]) --> Core[MkGpu]
Core --> Backend{MkGpuBackend}
Backend -->|ash| Vulkan[Vulkan Engine]
Backend -->|simulation| Dummy[Dummy Engine]
Vulkan --> Hardware[[Physical GPU]]
◈ LICENSE
Licensed under the Mozilla Public License 2.0.
[ Part of the ◈ MEMKIT ◈ Ecosystem ]