diff options
author | Willem Jan Palenstijn <WillemJan.Palenstijn@uantwerpen.be> | 2014-04-16 11:13:40 +0000 |
---|---|---|
committer | wpalenst <WillemJan.Palenstijn@uantwerpen.be> | 2014-04-16 11:13:40 +0000 |
commit | c72bc7cd47ecb5665a287fb88e101f88118f5232 (patch) | |
tree | 367c19f29647f4256783acfce9db4e8431bd0039 /cuda/2d/arith.h | |
parent | bcff7884bb89dbecd394c75a8f57b0a54a743b52 (diff) | |
download | astra-c72bc7cd47ecb5665a287fb88e101f88118f5232.tar.gz astra-c72bc7cd47ecb5665a287fb88e101f88118f5232.tar.bz2 astra-c72bc7cd47ecb5665a287fb88e101f88118f5232.tar.xz astra-c72bc7cd47ecb5665a287fb88e101f88118f5232.zip |
Split up processVol in Vol/Sino cases
Diffstat (limited to 'cuda/2d/arith.h')
-rw-r--r-- | cuda/2d/arith.h | 38 |
1 files changed, 23 insertions, 15 deletions
diff --git a/cuda/2d/arith.h b/cuda/2d/arith.h index d745aef..c32a63a 100644 --- a/cuda/2d/arith.h +++ b/cuda/2d/arith.h @@ -55,21 +55,29 @@ struct opSetMaskedValues; struct opMulMask; -template<typename op> void processVolCopy(float* out, unsigned int width, unsigned int height); -template<typename op> void processVolCopy(float* out, float param, unsigned int width, unsigned int height); -template<typename op> void processVolCopy(float* out1, float* out2, float param1, float param2, unsigned int width, unsigned int height); -template<typename op> void processVolCopy(float* out, const float* in, unsigned int width, unsigned int height); -template<typename op> void processVolCopy(float* out, const float* in, float param, unsigned int width, unsigned int height); -template<typename op> void processVolCopy(float* out, const float* in1, const float* in2, unsigned int width, unsigned int height); -template<typename op> void processVolCopy(float* out, const float* in1, const float* in2, float param, unsigned int width, unsigned int height); - -template<typename op> void processVol(float* out, unsigned int pitch, unsigned int width, unsigned int height); -template<typename op> void processVol(float* out, float fParam, unsigned int pitch, unsigned int width, unsigned int height); -template<typename op> void processVol(float* out1, float* out2, float fParam1, float fParam2, unsigned int pitch, unsigned int width, unsigned int height); -template<typename op> void processVol(float* out, const float* in, unsigned int pitch, unsigned int width, unsigned int height); -template<typename op> void processVol(float* out, const float* in, float fParam, unsigned int pitch, unsigned int width, unsigned int height); -template<typename op> void processVol(float* out, const float* in1, const float* in2, float fParam, unsigned int pitch, unsigned int width, unsigned int height); -template<typename op> void processVol(float* out, const float* in1, const float* in2, unsigned int pitch, unsigned int width, unsigned int height); +template<typename op> void processVolCopy(float* out, const SDimensions& dims); +template<typename op> void processVolCopy(float* out, float param, const SDimensions& dims); +template<typename op> void processVolCopy(float* out1, float* out2, float param1, float param2, const SDimensions& dims); +template<typename op> void processVolCopy(float* out, const float* in, const SDimensions& dims); +template<typename op> void processVolCopy(float* out, const float* in, float param, const SDimensions& dims); +template<typename op> void processVolCopy(float* out, const float* in1, const float* in2, const SDimensions& dims); +template<typename op> void processVolCopy(float* out, const float* in1, const float* in2, float param, const SDimensions& dims); + +template<typename op> void processVol(float* out, unsigned int pitch, const SDimensions& dims); +template<typename op> void processVol(float* out, float fParam, unsigned int pitch, const SDimensions& dims); +template<typename op> void processVol(float* out1, float* out2, float fParam1, float fParam2, unsigned int pitch, const SDimensions& dims); +template<typename op> void processVol(float* out, const float* in, unsigned int pitch, const SDimensions& dims); +template<typename op> void processVol(float* out, const float* in, float fParam, unsigned int pitch, const SDimensions& dims); +template<typename op> void processVol(float* out, const float* in1, const float* in2, float fParam, unsigned int pitch, const SDimensions& dims); +template<typename op> void processVol(float* out, const float* in1, const float* in2, unsigned int pitch, const SDimensions& dims); + +template<typename op> void processSino(float* out, unsigned int pitch, const SDimensions& dims); +template<typename op> void processSino(float* out, float fParam, unsigned int pitch, const SDimensions& dims); +template<typename op> void processSino(float* out1, float* out2, float fParam1, float fParam2, unsigned int pitch, const SDimensions& dims); +template<typename op> void processSino(float* out, const float* in, unsigned int pitch, const SDimensions& dims); +template<typename op> void processSino(float* out, const float* in, float fParam, unsigned int pitch, const SDimensions& dims); +template<typename op> void processSino(float* out, const float* in1, const float* in2, float fParam, unsigned int pitch, const SDimensions& dims); +template<typename op> void processSino(float* out, const float* in1, const float* in2, unsigned int pitch, const SDimensions& dims); template<typename op> void processVol3D(cudaPitchedPtr& out, const SDimensions3D& dims); template<typename op> void processVol3D(cudaPitchedPtr& out, float fParam, const SDimensions3D& dims); |