#[repr(C)]pub struct RopePushConstants {
pub pos: u32,
pub n_heads: u32,
pub head_dim: u32,
pub rope_theta: f32,
pub is_neox: u32,
pub _pad0: u32,
pub _pad1: u32,
pub _pad2: u32,
}Expand description
Push constant payload for Planar Spinor Bank (RoPE) compute shader.
Fields§
§pos: u32§n_heads: u32§head_dim: u32§rope_theta: f32§is_neox: u32§_pad0: u32§_pad1: u32§_pad2: u32Implementations§
Trait Implementations§
Source§impl Clone for RopePushConstants
impl Clone for RopePushConstants
impl Copy for RopePushConstants
Source§impl Debug for RopePushConstants
impl Debug for RopePushConstants
Source§impl PartialEq for RopePushConstants
impl PartialEq for RopePushConstants
impl StructuralPartialEq for RopePushConstants
Auto Trait Implementations§
impl Forget for RopePushConstants
impl Freeze for RopePushConstants
impl Move for RopePushConstants
impl RefUnwindSafe for RopePushConstants
impl Send for RopePushConstants
impl Sync for RopePushConstants
impl Unpin for RopePushConstants
impl UnsafeUnpin for RopePushConstants
impl UnwindSafe for RopePushConstants
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