GZEROS inside of GFOR

[Old posts from the commercial version of ArrayFire] Discussion of ArrayFire using CUDA or OpenCL.

Moderator: pavanky

GZEROS inside of GFOR

Postby melonakos » Wed Jul 21, 2010 6:32 pm

One programmer recently asked the following by email:

I was also wondering, can only use functions like gzeros when it is inside a gfor loop or can you use gzeros by itself?


Yes, you can use GZEROS inside of a GFOR loop. The best way to know if you can use a function inside of a GFOR loop is to look at the function's documentation. For example, the GZEROS page here, http://wiki.accelereyes.com/wiki/index.php/GZEROS, indicates that this function is GFOR capable.

For a list of all GFOR-supported functions, see:

http://wiki.accelereyes.com/wiki/index.php/Category:GFOR_Supported

-John
John Melonakos (john@arrayfire.com)
User avatar
melonakos
 
Posts: 503
Joined: Tue Jun 10, 2008 9:49 am

Return to [archive-commercial] Programming & Development with ArrayFire

cron