Struct clfft::FftOutOfPlacePlan
[−]
[src]
pub struct FftOutOfPlacePlan<'a, T: ClFftPrm> { /* fields omitted */ }
A plan is a repository of state for calculating FFT's. Allows the runtime to pre-calculate kernels, programs and buffers and associate them with buffers of specified dimensions.
Methods
impl<'a, T: ClFftPrm> FftOutOfPlacePlan<'a, T>
[src]
fn ewait(self, wait_list: &'a EventList) -> Self
Specifies the list of events to wait on before the command will run.
fn enew(self, new_event_dest: &'a mut EventList) -> Self
Specifies the destination list or empty event for a new, optionally created event associated with this command.
fn enq(
&mut self,
direction: Direction,
buffer: &Buffer<T>,
result: &mut Buffer<T>
) -> Result<()>
&mut self,
direction: Direction,
buffer: &Buffer<T>,
result: &mut Buffer<T>
) -> Result<()>
Enqueues the FFT so that it gets performed on the device.
Trait Implementations
impl<'a, T: ClFftPrm> AsClFftPlanHandle for FftOutOfPlacePlan<'a, T>
[src]
unsafe fn as_ptr(&self) -> clfftPlanHandle
Returns the native clFFT plan handle.