com.nativelibs4java.opencl.util.fft
Class DoubleDFT

java.lang.Object
  extended by com.nativelibs4java.opencl.util.Transformer.AbstractTransformer<T,A>
      extended by com.nativelibs4java.opencl.util.fft.DoubleDFT
All Implemented Interfaces:
Transformer<Double,double[]>

public class DoubleDFT
extends Transformer.AbstractTransformer<T,A>

Slow OpenCL Fourier Transform that works in all cases (double precision floating point numbers)


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.nativelibs4java.opencl.util.Transformer
Transformer.AbstractTransformer<T,A>
 
Field Summary
 
Fields inherited from class com.nativelibs4java.opencl.util.Transformer.AbstractTransformer
context, primitiveClass
 
Constructor Summary
DoubleDFT()
           
DoubleDFT(CLContext context)
           
 
Method Summary
protected  CLEvent dft(CLQueue queue, CLBuffer<Double> inBuf, CLBuffer<Double> outBuf, int length, int sign, int[] dims, CLEvent... events)
           
 CLEvent transform(CLQueue queue, CLBuffer<T> inBuf, CLBuffer<T> outBuf, boolean inverse, CLEvent... eventsToWaitFor)
           
 
Methods inherited from class com.nativelibs4java.opencl.util.Transformer.AbstractTransformer
computeOutputSize, getContext, transform, transform
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DoubleDFT

public DoubleDFT(CLContext context)
          throws IOException
Throws:
IOException

DoubleDFT

public DoubleDFT()
          throws IOException
Throws:
IOException
Method Detail

dft

protected CLEvent dft(CLQueue queue,
                      CLBuffer<Double> inBuf,
                      CLBuffer<Double> outBuf,
                      int length,
                      int sign,
                      int[] dims,
                      CLEvent... events)
               throws CLException
Throws:
CLException

transform

public CLEvent transform(CLQueue queue,
                         CLBuffer<T> inBuf,
                         CLBuffer<T> outBuf,
                         boolean inverse,
                         CLEvent... eventsToWaitFor)
                  throws CLException
Throws:
CLException


Copyright © 2009-2012. All Rights Reserved.