GETLMEMBASE : Get Local Memory Base Pointer

Format:

SPA 5.0:
GETLMEMBASE Rd {&req_6} {&rdN} {&wrN} {?sched} ; // Rd is a 64 bit vector2 register.

Description:

GETLMEMBASE allows a thread to read back the per warp LMEMBASE state into a 64-bit Rd register.

The state read back indicates whether the warp is using the default hardware generated (based on class methods) local memory backing store, or a software managed (allocated) backing store.

The virtual address of the backing store (whether hardware or software managed) is also returned.

Additional Information:

See SETLMEMBASE for details on usage.

Examples:

GETLMEMBASE R0;

Back to Index of Instructions