pub struct PermutationRequest<T: TensorSupported> {
pub a: OperandSpec<T>,
pub b: OperandSpec<T>,
pub alpha: T,
pub op_a: cutensorOperator_t,
pub compute: ComputeDesc,
pub alignment: u32,
pub reply: Sender<Result<(), GpuError>>,
}Fields§
§a: OperandSpec<T>§b: OperandSpec<T>§alpha: T§op_a: cutensorOperator_t§compute: ComputeDesc§alignment: u32§reply: Sender<Result<(), GpuError>>Implementations§
Source§impl<T: TensorSupported> PermutationRequest<T>
impl<T: TensorSupported> PermutationRequest<T>
pub fn new( a: OperandSpec<T>, b: OperandSpec<T>, alpha: T, reply: Sender<Result<(), GpuError>>, ) -> Self
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for PermutationRequest<T>where
T: Freeze,
impl<T> !RefUnwindSafe for PermutationRequest<T>
impl<T> Send for PermutationRequest<T>
impl<T> Sync for PermutationRequest<T>
impl<T> Unpin for PermutationRequest<T>where
T: Unpin,
impl<T> UnsafeUnpin for PermutationRequest<T>where
T: UnsafeUnpin,
impl<T> !UnwindSafe for PermutationRequest<T>
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