Skip to main content

SpparkCudaDftSys

Trait SpparkCudaDftSys 

Source
pub trait SpparkCudaDftSys<T: DeviceCopy>:
    'static
    + Send
    + Sync {
    // Required method
    unsafe fn dft_unchecked(
        &self,
        d_out: *mut T,
        d_in: *mut T,
        lg_domain_size: u32,
        lg_blowup: u32,
        shift: T,
        batch_size: u32,
        bit_rev_output: bool,
        backend: &TaskScope,
    ) -> Result<(), CudaError>;
}

Required Methods§

Source

unsafe fn dft_unchecked( &self, d_out: *mut T, d_in: *mut T, lg_domain_size: u32, lg_blowup: u32, shift: T, batch_size: u32, bit_rev_output: bool, backend: &TaskScope, ) -> Result<(), CudaError>

§Safety

The caller must ensure the validity of pointers, allocation size, and lifetimes.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§