....back to rapidmind backend : next reason why is powerspectrum so slow is number times of upload/dowload datas - a gpu computation is effective only for massive datas and arithmetic intensity... what to do ? that a question
Once past the baseline smoothing, all output from FFTs is converted to PowerSpectrum form before any other processing. If possible, a combined FFT+PowerSpectrum before the data is downloaded would be most efficient. Joe
Quote from: currey on 12 Apr 2007, 11:47:42 ami dunno if its possible but what about a tool that emulates all gpu cores to windows. i know gpu cores dont have those things like sse eg. and are more simple than a normal cpu, but with that kinda tool you dont have to code a different code for every software gpu crunching is used for.It's the goal of CUDA. But it's a nVidia tool...
i dunno if its possible but what about a tool that emulates all gpu cores to windows. i know gpu cores dont have those things like sse eg. and are more simple than a normal cpu, but with that kinda tool you dont have to code a different code for every software gpu crunching is used for.
const float* outp=output.read_data (); for (int i=0;i<fftlen;i++) { PowerSpectrum[CurrentSub+i]=outp[i]; }
PowerSpectrum[CurrentSub]=output.read_data ();
how i can rewrite this part of code Code: [Select]const float* outp=output.read_data (); for (int i=0;i<fftlen;i++) { PowerSpectrum[CurrentSub+i]=outp[i]; }to something like this Code: [Select]PowerSpectrum[CurrentSub]=output.read_data ();left side is float right side is const float*. how make typecast