com.nativelibs4java.opencl.util.fft
Class FloatDFT

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

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

Slow OpenCL Fourier Transform that works in all cases (simple 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
FloatDFT()
           
FloatDFT(CLContext context)
           
 
Method Summary
protected  CLEvent dft(CLQueue queue, CLBuffer<Float> inBuf, CLBuffer<Float> 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

FloatDFT

public FloatDFT(CLContext context)
         throws IOException,
                CLException
Throws:
IOException
CLException

FloatDFT

public FloatDFT()
         throws IOException
Throws:
IOException
Method Detail

dft

protected CLEvent dft(CLQueue queue,
                      CLBuffer<Float> inBuf,
                      CLBuffer<Float> 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.