Use dg_l* local memory handling helpers