aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/stream_executor/device_memory.h
diff options
context:
space:
mode:
authorGravatar Gunhan Gulsoy <gunan@google.com>2016-11-01 15:46:11 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2016-11-01 17:02:01 -0700
commita95f95a60b20fb48fbfcae8da4afaa9412582746 (patch)
treea57f39bd94502a01347f1055b86816b29c95ac68 /tensorflow/stream_executor/device_memory.h
parent82afa4b515720a5413fde6ff9ce74c58622b41de (diff)
Remove references to gcudacc.
Change: 137888607
Diffstat (limited to 'tensorflow/stream_executor/device_memory.h')
-rw-r--r--tensorflow/stream_executor/device_memory.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/tensorflow/stream_executor/device_memory.h b/tensorflow/stream_executor/device_memory.h
index eb73133d31..bcb0664b04 100644
--- a/tensorflow/stream_executor/device_memory.h
+++ b/tensorflow/stream_executor/device_memory.h
@@ -145,23 +145,6 @@ class DeviceMemory final : public DeviceMemoryBase {
}
// ------------------------------------------------------------
- // DO NOT USE - FASTR TEAM-INTERNAL FUNCTIONS
- // Used internally by gcudacc.
-#ifdef __GCUDACC__
- // Implicit conversion operators needed to support mixed mode. Since buffer
- // sizes aren't used in the CUDA launching process, and since the constructed
- // objects are all temporary, this is safe.
- // Linter warning disabled as we require an implicit conversion.
- DeviceMemory(const ElemT *opaque) : // NOLINT
- DeviceMemoryBase(reinterpret_cast<void *>(const_cast<ElemT *>(opaque)),
- 0) {}
-
- operator ElemT *() { return reinterpret_cast<ElemT *>(opaque()); }
- operator const ElemT *() {
- return const_cast<const ElemT *>(reinterpret_cast<ElemT *>(opaque()));
- }
-#endif
- // ------------------------------------------------------------
protected:
// This constructor is solely used from derived classes; it is made protected