pub struct IR {
pub global_work_size: Vec<usize>,
pub local_work_size: Vec<usize>,
pub kernel_args: Vec<(DType, bool)>,
pub ops: Vec<Op>,
pub res_byte_size: usize,
}
Expand description
Intermediate representation for compilers
Fields§
§global_work_size: Vec<usize>
§local_work_size: Vec<usize>
§kernel_args: Vec<(DType, bool)>
§ops: Vec<Op>
§res_byte_size: usize
Auto Trait Implementations§
impl Freeze for IR
impl RefUnwindSafe for IR
impl Send for IR
impl Sync for IR
impl Unpin for IR
impl UnwindSafe for IR
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