written GPU and GMEM