Forum > Windows

GPU crunching question

<< < (20/37) > >>

Josef W. Segur:

--- Quote from: Devaster on 18 Apr 2007, 03:53:01 am ---....
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  :-\
--- End quote ---

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

Devaster:

--- Quote ---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

--- End quote ---

yeah i think too and  i am going in this way in last two days

but : it must be done in separate steps ...

Devaster:

--- Quote from: ThierryH on 12 Apr 2007, 12:04:02 pm ---
--- Quote from: currey on 12 Apr 2007, 11:47:42 am ---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.


--- End quote ---

It's the goal of CUDA. But it's a nVidia tool...


--- End quote ---

but if you havent a G80 then is cuda switched to emulation and its running on cpu  ???

Vyper:
Yes if u dont got a G80+ based card it will run in emul mode.. true .. Get a cheaper G80+ card to develop on later on! ;-) Nvidia just released cheaper 8X series card and i presume they will run G80+ code but albeit slower ..

Ofcourse that is not a priorty, first of all its fun to have a generic GPU code and that is what u Devaster is going for atm.. Keep up the good work and post the progress..

Kind Reg. Vyper

Devaster:
ok now is nagas GPUFFTW fully included...
speed ?  ::) i dont know if it is good or bad ...

now another problem :

how i can rewrite this part of code

--- Code: ---const float* outp=output.read_data ();
  for (int i=0;i<fftlen;i++)
  {
  PowerSpectrum[CurrentSub+i]=outp[i];
  }

--- End code ---
to something like this

--- Code: ---PowerSpectrum[CurrentSub]=output.read_data ();
--- End code ---
this is wrong ....
left side is float right side is const float*. how make typecast ???

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version