summaryrefslogtreecommitdiffstats
path: root/parallel-libs/streamexecutor/lib/DeviceMemory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'parallel-libs/streamexecutor/lib/DeviceMemory.cpp')
-rw-r--r--parallel-libs/streamexecutor/lib/DeviceMemory.cpp27
1 files changed, 0 insertions, 27 deletions
diff --git a/parallel-libs/streamexecutor/lib/DeviceMemory.cpp b/parallel-libs/streamexecutor/lib/DeviceMemory.cpp
deleted file mode 100644
index 8447a60b1ca..00000000000
--- a/parallel-libs/streamexecutor/lib/DeviceMemory.cpp
+++ /dev/null
@@ -1,27 +0,0 @@
-//===-- DeviceMemory.cpp - DeviceMemory implementation --------------------===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-///
-/// \file
-/// Implementation of DeviceMemory class internals.
-///
-//===----------------------------------------------------------------------===//
-
-#include "streamexecutor/DeviceMemory.h"
-
-#include "streamexecutor/Device.h"
-
-namespace streamexecutor {
-
-GlobalDeviceMemoryBase::~GlobalDeviceMemoryBase() {
- if (Handle)
- // TODO(jhen): How to handle errors here.
- consumeError(TheDevice->freeDeviceMemory(*this));
-}
-
-} // namespace streamexecutor
OpenPOWER on IntegriCloud