RAM : Restore Active Mask

Format

SPA 5.0:
           RAM   {&req_6}   {?sched>=?WAIT5}   ;   

Description

Restore active thread mask. Used for TXD emulation and any other special application that requires fully-populated quads.

Pops the active mask from the stack and loads it into the current active mask. If the current Top-Of-Stack is not a SAM token, an error results. The active mask is the same size as the Warp width (32b) and controls whether a thread is active/non-active.

See the SAM description for more information and warnings.

Examples:

     SAM;
     NOP;
     RAM;

Back to Index of Instructions