pub struct BindlessInputs {
pub resource_count: u32,
pub support: BindlessSupport,
pub dynamic_indexing: bool,
}Expand description
Inputs to the bindless decision.
Fields§
§resource_count: u32Number of resources the kernel binds. Below the threshold, traditional bindings beat bindless on every backend (the per-bindless-handle setup cost has its own constant).
support: BindlessSupportBackend’s bindless support level (probed once per backend startup).
dynamic_indexing: boolWhether the kernel’s access pattern is dynamic (different
indices per thread / per dispatch). Only Full support
handles dynamic indexing; Static is wasted on dynamic
access.
Trait Implementations§
Source§impl Clone for BindlessInputs
impl Clone for BindlessInputs
Source§fn clone(&self) -> BindlessInputs
fn clone(&self) -> BindlessInputs
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 moreimpl Copy for BindlessInputs
Source§impl Debug for BindlessInputs
impl Debug for BindlessInputs
impl Eq for BindlessInputs
Source§impl PartialEq for BindlessInputs
impl PartialEq for BindlessInputs
Source§fn eq(&self, other: &BindlessInputs) -> bool
fn eq(&self, other: &BindlessInputs) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BindlessInputs
Auto Trait Implementations§
impl Freeze for BindlessInputs
impl RefUnwindSafe for BindlessInputs
impl Send for BindlessInputs
impl Sync for BindlessInputs
impl Unpin for BindlessInputs
impl UnsafeUnpin for BindlessInputs
impl UnwindSafe for BindlessInputs
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.