Struct rustacuda::memory::array::ArrayDescriptor [−][src]
pub struct ArrayDescriptor { /* fields omitted */ }
Expand description
Describes a CUDA Array
Implementations
Constructs an ArrayDescriptor from a CUDA Driver API Array Descriptor.
pub fn new(
dims: [usize; 3],
format: ArrayFormat,
num_channels: c_uint,
flags: ArrayObjectFlags
) -> Self
pub fn new(
dims: [usize; 3],
format: ArrayFormat,
num_channels: c_uint,
flags: ArrayObjectFlags
) -> Self
Constructs an ArrayDescriptor from dimensions, format, num_channels, and flags.
Creates a new ArrayDescriptor from a set of dimensions and format.
Sets the height of the ArrayDescriptor
Returns the format of the ArrayDescripor
Sets the format of the ArrayDescriptor
Returns the number of channels in the ArrayDescriptor
Sets the number of channels in the ArrayDescriptor
Returns the flags of the ArrayDescriptor
Sets the flags of the ArrayDescriptor.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ArrayDescriptor
impl Send for ArrayDescriptor
impl Sync for ArrayDescriptor
impl Unpin for ArrayDescriptor
impl UnwindSafe for ArrayDescriptor
Blanket Implementations
Mutably borrows from an owned value. Read more