[nVIDIA CUDA]Determining blocksize and Gridsize for allocating device memory

Mirco Müller mirco.mueller at canonical.com
Thu Mar 25 09:46:49 GMT 2010

Am Sonntag, den 14.03.2010, 09:16 -0700 schrieb OpenGeek:

> I have started learning CUDA with no prior knowledge in Parallel
> programming.
> I have a basic doubt in determining blocksize and gridsize.
> For example I need to multiply two single dimensioned arrays like this:
> ...

	While I cannot directly answer your question right now, I am wondering
why you spent time learning CUDA when there's OpenCL. Afaik CUDA will
only work on nvidia-based GPUs where OpenCL, being really
cross-platform, will work on nvidia, ATI and CPUs.

Just curious.

Best regards ...


More information about the ubuntu-devel mailing list