pub struct ASICAccelerator { /* private fields */ }
Expand description
Custom ASIC accelerator implementation
Implementations§
Trait Implementations§
Source§impl HardwareAbstractionLayer for ASICAccelerator
impl HardwareAbstractionLayer for ASICAccelerator
Source§fn initialize(&mut self) -> FFTResult<()>
fn initialize(&mut self) -> FFTResult<()>
Initialize the accelerator
Source§fn is_available(&self) -> bool
fn is_available(&self) -> bool
Check if the accelerator is available
Source§fn get_info(&self) -> &AcceleratorInfo
fn get_info(&self) -> &AcceleratorInfo
Get accelerator information
Source§fn allocate_memory(&mut self, _size: usize) -> FFTResult<u64>
fn allocate_memory(&mut self, _size: usize) -> FFTResult<u64>
Allocate memory on the accelerator
Source§fn transfer_to_device(&mut self, _handle: u64, data: &[u8]) -> FFTResult<()>
fn transfer_to_device(&mut self, _handle: u64, data: &[u8]) -> FFTResult<()>
Transfer data to accelerator
Source§fn transfer_from_device(
&mut self,
_handle: u64,
data: &mut [u8],
) -> FFTResult<()>
fn transfer_from_device( &mut self, _handle: u64, data: &mut [u8], ) -> FFTResult<()>
Transfer data from accelerator
Source§fn execute_sparse_fft(
&mut self,
_input_handle: u64,
_output_handle: u64,
config: &SparseFFTConfig,
) -> FFTResult<Duration>
fn execute_sparse_fft( &mut self, _input_handle: u64, _output_handle: u64, config: &SparseFFTConfig, ) -> FFTResult<Duration>
Execute sparse FFT on accelerator
Auto Trait Implementations§
impl Freeze for ASICAccelerator
impl RefUnwindSafe for ASICAccelerator
impl Send for ASICAccelerator
impl Sync for ASICAccelerator
impl Unpin for ASICAccelerator
impl UnwindSafe for ASICAccelerator
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> 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