comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » CUDA version of RANDOMN?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
CUDA version of RANDOMN? [message #62006] Fri, 15 August 2008 07:11
hotplainrice@gmail.co is currently offline  hotplainrice@gmail.co
Messages: 15
Registered: July 2008
Junior Member
Hey guys,

I need to write a kernel to replace the IDL RANDOMN POISSON

for loop
for loop
for loop
c = data[x,y,b]
if c gt 0.0 then begin
n = RANDOMN( seedP, POISSON=c )
endif else begin
n = 0
endelse
data[x,y,b] = n
endfor
endfor
endfor

Could someone point out an example code of how RANDOMN POISSON so that
I can implement it in CUDA?

Thanks
Zaki
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: About 2D array index
Next Topic: Re: Need help with an Iterative solution in IDL (relative newb question)

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 19:17:50 PDT 2025

Total time taken to generate the page: 0.00540 seconds