MCPcopy Create free account
hub / github.com/Rust-GPU/rust-cuda / width

Method width

crates/cust/src/memory/array.rs:243–245  ·  view source on GitHub ↗

Returns the width of the ArrayDescripor

(&self)

Source from the content-addressed store, hash-verified

241
242 /// Returns the width of the ArrayDescripor
243 pub fn width(&self) -> usize {
244 self.desc.Width
245 }
246
247 /// Sets the width of the ArrayDescriptor
248 pub fn set_width(&mut self, width: usize) {

Callers 5

from_array_descMethod · 0.45
from_descriptorMethod · 0.45
copy_fromMethod · 0.45
copy_toMethod · 0.45
as_host_vecMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected