GUINT32

From Jacket Wiki

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

Convert to unsigned 32-bit integer on GPU

Usage

Jacket for M Language
    Supported Syntax
    
A = guint32(B)
    

GFOR Supported

Yes

GCOMPILE Supported

No

Types Supported

-  GDOUBLE   GSINGLE   GLOGICAL   GINT32   GINT8   GUINT32   GUINT8   COMPLEX 

Types Not Supported

-

CPU usageJacket only contains GPU computing functions. To run functions on the CPU, try one of the MathWorks products:
http://www.mathworks.com/access/helpdesk/help/techdoc/ref/uint32.html
More Details
  • Use the standard MATLAB conversions to return data to the CPU (see below).
  • Example Usage:
A = guint32(-5:5);
B = A + 3;
C = uint32(B); % bring back to CPU

Notes

  • All subsequent computations on A are performed on the graphics card (GPU).
  • Actual GPU computation is delayed until the results are requested.

See Also

GONES, GZEROS, GEYE, GSINGLE, GDOUBLE, GLOGICAL, GINT32

Views
Personal tools