Struct cubecl_core::ir::ReadGlobalWithLayout
source · pub struct ReadGlobalWithLayout {
pub globals: Vec<Variable>,
pub outs: Vec<Variable>,
pub layout: Variable,
pub position: Variable,
}
Expand description
Read a global array with the given layout.
Fields§
§globals: Vec<Variable>
The array to be read.
outs: Vec<Variable>
The output variable to write the result.
layout: Variable
The layout to be used.
position: Variable
The reference position index.
Implementations§
Trait Implementations§
source§impl Clone for ReadGlobalWithLayout
impl Clone for ReadGlobalWithLayout
source§fn clone(&self) -> ReadGlobalWithLayout
fn clone(&self) -> ReadGlobalWithLayout
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ReadGlobalWithLayout
impl Debug for ReadGlobalWithLayout
source§impl<'de> Deserialize<'de> for ReadGlobalWithLayout
impl<'de> Deserialize<'de> for ReadGlobalWithLayout
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for ReadGlobalWithLayout
impl PartialEq for ReadGlobalWithLayout
source§impl Serialize for ReadGlobalWithLayout
impl Serialize for ReadGlobalWithLayout
impl StructuralPartialEq for ReadGlobalWithLayout
Auto Trait Implementations§
impl Freeze for ReadGlobalWithLayout
impl RefUnwindSafe for ReadGlobalWithLayout
impl Send for ReadGlobalWithLayout
impl Sync for ReadGlobalWithLayout
impl Unpin for ReadGlobalWithLayout
impl UnwindSafe for ReadGlobalWithLayout
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)