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

Method num_channels

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

Returns the number of channels in the ArrayDescriptor

(&self)

Source from the content-addressed store, hash-verified

281
282 /// Returns the number of channels in the ArrayDescriptor
283 pub fn num_channels(&self) -> c_uint {
284 self.desc.NumChannels
285 }
286
287 /// Sets the number of channels in the ArrayDescriptor
288 pub fn set_num_channels(&mut self, num_channels: c_uint) {

Callers 4

from_array_descMethod · 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