pub struct ArgsortDescriptor {
pub batch: i32,
pub row_len: i32,
pub descending: bool,
pub element: ElementKind,
}Expand description
Descriptor for an argsort op.
Fields§
§batch: i32Number of independent rows.
row_len: i32Length of each row. ≤ 1024 uses the block-bitonic kernel;
> 1024 uses the multi-block CUB radix kernel (workspace
required — call ArgsortPlan::workspace_size).
descending: booltrue = sort largest-first.
element: ElementKindValue element type (input).
Trait Implementations§
Source§impl Clone for ArgsortDescriptor
impl Clone for ArgsortDescriptor
Source§fn clone(&self) -> ArgsortDescriptor
fn clone(&self) -> ArgsortDescriptor
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ArgsortDescriptor
Auto Trait Implementations§
impl Freeze for ArgsortDescriptor
impl RefUnwindSafe for ArgsortDescriptor
impl Send for ArgsortDescriptor
impl Sync for ArgsortDescriptor
impl Unpin for ArgsortDescriptor
impl UnsafeUnpin for ArgsortDescriptor
impl UnwindSafe for ArgsortDescriptor
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more