pub struct GpuCircuitCacheHandle { /* private fields */ }Expand description
Host-resolved handle to one claimed GPU circuit-cache slot.
Implementations§
Source§impl GpuCircuitCacheHandle
impl GpuCircuitCacheHandle
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 handle buffers.
Sourcepub fn num_levels(&self) -> u32
pub fn num_levels(&self) -> u32
Returns the materialized circuit level count.
Auto Trait Implementations§
impl !RefUnwindSafe for GpuCircuitCacheHandle
impl !UnwindSafe for GpuCircuitCacheHandle
impl Freeze for GpuCircuitCacheHandle
impl Send for GpuCircuitCacheHandle
impl Sync for GpuCircuitCacheHandle
impl Unpin for GpuCircuitCacheHandle
impl UnsafeUnpin for GpuCircuitCacheHandle
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