pub struct WebGpuIntegrator { /* private fields */ }Expand description
WebGPU-based GPU integrator (cross-platform fallback).
Uses wgpu to execute compute shaders when DirectStorage or GPUDirect are unavailable. Data flows: NVMe → CPU RAM → GPU VRAM.
Implementations§
Trait Implementations§
Source§impl GpuIntegrator for WebGpuIntegrator
impl GpuIntegrator for WebGpuIntegrator
Source§fn integrate_simpsons_gpu(
&mut self,
file_path: &Path,
offset: u64,
size: u64,
step_size: f32,
) -> Result<f64, GpuError>
fn integrate_simpsons_gpu( &mut self, file_path: &Path, offset: u64, size: u64, step_size: f32, ) -> Result<f64, GpuError>
Executes Simpson’s rule integration on the GPU. Read more
Source§fn integrate_simpson_38_gpu(
&mut self,
file_path: &Path,
offset: u64,
size: u64,
step_size: f32,
) -> Result<f64, GpuError>
fn integrate_simpson_38_gpu( &mut self, file_path: &Path, offset: u64, size: u64, step_size: f32, ) -> Result<f64, GpuError>
Executes composite Simpson 3/8 quadrature on the GPU.
Source§fn available_vram(&self) -> u64
fn available_vram(&self) -> u64
Returns available VRAM in bytes.
Auto Trait Implementations§
impl Freeze for WebGpuIntegrator
impl !RefUnwindSafe for WebGpuIntegrator
impl Send for WebGpuIntegrator
impl Sync for WebGpuIntegrator
impl Unpin for WebGpuIntegrator
impl UnsafeUnpin for WebGpuIntegrator
impl !UnwindSafe for WebGpuIntegrator
Blanket Implementations§
§impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
Aggregate shares in an MPC protocol.
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more