com.nativelibs4java.opencl.util.fft
Class FloatDFT
java.lang.Object
com.nativelibs4java.opencl.util.Transformer.AbstractTransformer<T,A>
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)
|
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FloatDFT
public FloatDFT(CLContext context)
throws IOException,
CLException
- Throws:
IOException
CLException
FloatDFT
public FloatDFT()
throws IOException
- Throws:
IOException
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.