[StreamExecutor] Pass device memory by ref

Step 3 of getting GlobalDeviceMemory to own its handle.

Since GlobalDeviceMemory will no longer by copy-constructible, we must
pass instances by reference rather than by value.

Reviewers: jlebar

Subscribers: jprice, parallel_libs-commits

Differential Revision: https://reviews.llvm.org/D24172

llvm-svn: 280439
GitOrigin-RevId: c15c9ebb1d51d55564889a567aa70e9b42319b9b
3 files changed
tree: 2752a4f41c5549df172f17d961ce1702185b6d56
  1. .arcconfig
  2. .clang-format
  3. README.rst
  4. streamexecutor/