Added test file for reduction; factor 6.5 faster than Thrust for small grid (32^3), factor 1.5 for 64^3, factor 2 slower for 128^3 (..).
Merge branch 'cuda' into cudapres
Fixed the missing -arch=sm_xx flag
Ugly fix for the missing lcufft
Very crude but working forward FFT at GPU using batch FFT per layer and vertical loop at host side