|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.stanford.rsl.konrad.volume3d.FFTVolumeHandle
edu.stanford.rsl.konrad.cuda.CUDAFFTVolumeHandle
public class CUDAFFTVolumeHandle
Nested Class Summary | |
---|---|
static class |
CUDAFFTVolumeHandle.CUFFTResult
|
Constructor Summary | |
---|---|
CUDAFFTVolumeHandle(VolumeOperator operator)
|
Method Summary | |
---|---|
void |
cleanUp()
Cleans up the memory. |
void |
forwardTransform(jcuda.Pointer deviceX,
int[] size)
Performs a forward 3-D FFT on the given volume in the CUDA memory. |
void |
forwardTransform(Volume3D vol)
Performs a forward Fast Fourier Transform of the Volume |
static CUDAFFTVolumeHandle.CUFFTResult |
getResultEnum(int i)
|
void |
inverseTransform(jcuda.Pointer deviceX,
int[] size)
Performs an inverse 3-D FFT on the CUDA device memory pointed to by deviceX. |
void |
inverseTransform(Volume3D vol)
Performs a normalized inverse Fast Fourier Transform of the Volume |
void |
setThreadNumber(int number)
Sets the maximal number of threads used for the FFT. |
static float[] |
toCUDAFormat(float[][][] hostVolume)
|
static float[][][] |
toHostFormat(float[] cuda,
int[] size)
|
Methods inherited from class edu.stanford.rsl.konrad.volume3d.FFTVolumeHandle |
---|
setVolumeOperator |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CUDAFFTVolumeHandle(VolumeOperator operator)
Method Detail |
---|
public static CUDAFFTVolumeHandle.CUFFTResult getResultEnum(int i)
public static float[][][] toHostFormat(float[] cuda, int[] size)
public static float[] toCUDAFormat(float[][][] hostVolume)
public void forwardTransform(jcuda.Pointer deviceX, int[] size) throws java.lang.Exception
deviceX
- the Pointer to the device's memorysize
- the sizes of the volume
java.lang.Exception
- may happen.public void forwardTransform(Volume3D vol)
FFTVolumeHandle
forwardTransform
in class FFTVolumeHandle
vol
- the Volumepublic void inverseTransform(jcuda.Pointer deviceX, int[] size) throws java.lang.Exception
deviceX
- the device pointersize
- the sizes of the volume.
java.lang.Exception
- may happen.public void inverseTransform(Volume3D vol)
FFTVolumeHandle
inverseTransform
in class FFTVolumeHandle
vol
- the Volumepublic void cleanUp()
FFTVolumeHandle
cleanUp
in class FFTVolumeHandle
public void setThreadNumber(int number)
FFTVolumeHandle
setThreadNumber
in class FFTVolumeHandle
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |