Use device memory