forgot to update print-mem of gpuarrays with offsets