Registry / other / gpu-alloc

gpu-alloc

JSON →
library0.6.0rscratesunverified

Implementation agnostic memory allocator for Vulkan like APIs

# Cargo.toml [dependencies] gpu-alloc = "0.6.0"
INSTALL
IMPORT
SIG · GPU-ALLOC
G
gpu-alloc
otherrustv0.6.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

GpuAllocator
use gpu_alloc::GpuAllocator;

Creates a GPU memory allocator and allocates a block.

use gpu_alloc::GpuAllocator; fn main() { let mut allocator = GpuAllocator::new(1024); let block = allocator.alloc(256).unwrap(); println!("Allocated block: {:?}", block); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.6.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
Amazon
1
Resources
gpu-alloc — cargo add gpu-alloc · libregistry