pub struct CudaEGraphDeviceByteLayout { /* private fields */ }Expand description
CUDA byte layout for a packed e-graph device image.
Implementations§
Source§impl CudaEGraphDeviceByteLayout
impl CudaEGraphDeviceByteLayout
Sourcepub const fn child_count(&self) -> usize
pub const fn child_count(&self) -> usize
Number of child references in the upload image.
Sourcepub const fn eclass_group_count(&self) -> usize
pub const fn eclass_group_count(&self) -> usize
Number of e-class row groups in the upload image.
Sourcepub const fn row_eclass_ids(&self) -> CudaEGraphDeviceByteSpan
pub const fn row_eclass_ids(&self) -> CudaEGraphDeviceByteSpan
Byte span containing one e-class id per row.
Sourcepub const fn row_language_op_ids(&self) -> CudaEGraphDeviceByteSpan
pub const fn row_language_op_ids(&self) -> CudaEGraphDeviceByteSpan
Byte span containing one language op id per row.
Sourcepub const fn row_children_offsets(&self) -> CudaEGraphDeviceByteSpan
pub const fn row_children_offsets(&self) -> CudaEGraphDeviceByteSpan
Byte span containing one child-column offset per row.
Sourcepub const fn row_children_lens(&self) -> CudaEGraphDeviceByteSpan
pub const fn row_children_lens(&self) -> CudaEGraphDeviceByteSpan
Byte span containing one child count per row.
Sourcepub const fn row_signatures(&self) -> CudaEGraphDeviceByteSpan
pub const fn row_signatures(&self) -> CudaEGraphDeviceByteSpan
Byte span containing one structural signature per row.
Sourcepub const fn children(&self) -> CudaEGraphDeviceByteSpan
pub const fn children(&self) -> CudaEGraphDeviceByteSpan
Byte span containing the flat child e-class column.
Sourcepub const fn group_eclass_ids(&self) -> CudaEGraphDeviceByteSpan
pub const fn group_eclass_ids(&self) -> CudaEGraphDeviceByteSpan
Byte span containing sorted grouped e-class ids.
Sourcepub const fn group_offsets(&self) -> CudaEGraphDeviceByteSpan
pub const fn group_offsets(&self) -> CudaEGraphDeviceByteSpan
Byte span containing prefix offsets into Self::group_rows.
Sourcepub const fn group_rows(&self) -> CudaEGraphDeviceByteSpan
pub const fn group_rows(&self) -> CudaEGraphDeviceByteSpan
Byte span containing row indices grouped by e-class.
Trait Implementations§
Source§impl Clone for CudaEGraphDeviceByteLayout
impl Clone for CudaEGraphDeviceByteLayout
Source§fn clone(&self) -> CudaEGraphDeviceByteLayout
fn clone(&self) -> CudaEGraphDeviceByteLayout
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 moreSource§impl Debug for CudaEGraphDeviceByteLayout
impl Debug for CudaEGraphDeviceByteLayout
Source§impl Default for CudaEGraphDeviceByteLayout
impl Default for CudaEGraphDeviceByteLayout
Source§fn default() -> CudaEGraphDeviceByteLayout
fn default() -> CudaEGraphDeviceByteLayout
Returns the “default value” for a type. Read more
Source§impl PartialEq for CudaEGraphDeviceByteLayout
impl PartialEq for CudaEGraphDeviceByteLayout
Source§fn eq(&self, other: &CudaEGraphDeviceByteLayout) -> bool
fn eq(&self, other: &CudaEGraphDeviceByteLayout) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for CudaEGraphDeviceByteLayout
impl Eq for CudaEGraphDeviceByteLayout
impl StructuralPartialEq for CudaEGraphDeviceByteLayout
Auto Trait Implementations§
impl Freeze for CudaEGraphDeviceByteLayout
impl RefUnwindSafe for CudaEGraphDeviceByteLayout
impl Send for CudaEGraphDeviceByteLayout
impl Sync for CudaEGraphDeviceByteLayout
impl Unpin for CudaEGraphDeviceByteLayout
impl UnsafeUnpin for CudaEGraphDeviceByteLayout
impl UnwindSafe for CudaEGraphDeviceByteLayout
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.