GEVAL

From Jacket Wiki

Jump to: navigation, search
Back to Function List, Jacket Basics

Evaluate computation and leave results on GPU

Usage

Jacket for M Language
    Supported Syntax
    
GEVAL(A); % performs computation A and leaves result out on the GPU.
GEVAL(A,B,C,...); % performs multiple computations.
    

GFOR Supported

Yes

GCOMPILE Supported

No

Types Supported

-  GDOUBLE   GSINGLE   GLOGICAL   GINT32   GINT8   GUINT32   GUINT8   COMPLEX 

Types Not Supported

-

More Details
A = gones(3) + 8;
geval(A);
 
B = gones(3) + 8;
C = B * gones(3) + i;
geval(B, C);

Notes

GEVAL is used for debugging and benchmarking only and can easily slow down your code. Please remove any instances of this in production code. Its typically only useful in timing short snippets of code where you want to be sure that an expression or variable has been evaluated before calling GSYNC and TOC.

See Also

GSYNC, TIC, TOC, TIMEIT

Views
Personal tools