SPA 5.0:
GETLMEMBASE
Rd
{&req_6}
{&rdN}
{&wrN}
{?sched}
;
// Rd is a 64 bit vector2 register.
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.
See SETLMEMBASE for details on usage.
GETLMEMBASE R0;