Docs.rs
optirs-gpu-0.1.0-beta.1
optirs-gpu 0.1.0-beta.1
Permalink
Docs.rs crate page
MIT
OR
Apache-2.0
Links
Repository
crates.io
Source
Owners
cool-japan
Dependencies
cudarc ^0.12
normal
optional
futures ^0.3.31
normal
log ^0.4
normal
num-traits ^0.2.19
normal
opencl3 ^0.11
normal
optional
optirs-core ^0.1.0-beta.1
normal
pollster ^0.4
normal
optional
scirs2-core ^0.1.0-beta.2
normal
serde ^1.0
normal
thiserror ^1.0.69
normal
tokio ^1.45.1
normal
wgpu ^22.1
normal
optional
approx ^0.5.1
dev
tokio-test ^0.4.4
dev
metal ^0.31.0
normal
optional
objc2 ^0.6.2
normal
optional
objc2-foundation ^0.3.0
normal
optional
objc2-metal-performance-shaders ^0.3.0
normal
optional
Versions
48.6%
of the crate is documented
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
calculate_fragmentation
optirs_
gpu
0.1.0-beta.1
In optirs_
gpu::
utils
optirs_gpu
::
utils
Function
calculate_
fragmentation
Copy item path
Source
pub fn calculate_fragmentation(free_blocks: &[(
usize
,
usize
)]) ->
f32
Expand description
Calculate fragmentation ratio