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

Method depth

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

Returns the depth of the ArrayDescripor

(&self)

Source from the content-addressed store, hash-verified

261
262 /// Returns the depth of the ArrayDescripor
263 pub fn depth(&self) -> usize {
264 self.desc.Depth
265 }
266
267 /// Sets the depth of the ArrayDescriptor
268 pub fn set_depth(&mut self, depth: usize) {

Callers 5

from_array_descMethod · 0.80
from_descriptorMethod · 0.80
copy_fromMethod · 0.80
copy_toMethod · 0.80
as_host_vecMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected