pub struct GpuCacheLookup { /* private fields */ }Expand description
Device-resident result of a cache lookup or slot claim.
Implementations§
Source§impl GpuCacheLookup
impl GpuCacheLookup
Sourcepub fn slot_device(&self) -> &TrackedCudaSlice<u32>
pub fn slot_device(&self) -> &TrackedCudaSlice<u32>
Returns the selected cache slot as a device scalar.
Sourcepub fn compile_needed_device(&self) -> &TrackedCudaSlice<u32>
pub fn compile_needed_device(&self) -> &TrackedCudaSlice<u32>
Returns the device flag indicating whether the slot requires compilation.
Sourcepub fn provider(&self) -> &Arc<CudaKernelProvider> ⓘ
pub fn provider(&self) -> &Arc<CudaKernelProvider> ⓘ
Returns the CUDA provider that owns the lookup buffers.
Sourcepub fn into_handle(self) -> Result<GpuCircuitCacheHandle>
pub fn into_handle(self) -> Result<GpuCircuitCacheHandle>
Resolves device metadata and converts this lookup into a cache handle.
Auto Trait Implementations§
impl !RefUnwindSafe for GpuCacheLookup
impl !UnwindSafe for GpuCacheLookup
impl Freeze for GpuCacheLookup
impl Send for GpuCacheLookup
impl Sync for GpuCacheLookup
impl Unpin for GpuCacheLookup
impl UnsafeUnpin for GpuCacheLookup
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