summaryrefslogtreecommitdiff
path: root/parallel-libs
diff options
context:
space:
mode:
authorJason Henline <jhen@google.com>2016-09-13 23:56:47 +0000
committerJason Henline <jhen@google.com>2016-09-13 23:56:47 +0000
commitb7ebd0aabff73db6b8cae30bac6f6efa1541b298 (patch)
tree8fdb19d98d43d94d0d8c2b2b1ebd65f7bf894e62 /parallel-libs
parent409fb55669c8cf4dc98be65886d02a80bf45c6e0 (diff)
Device doc says device is small
Diffstat (limited to 'parallel-libs')
-rw-r--r--parallel-libs/streamexecutor/include/streamexecutor/Device.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/parallel-libs/streamexecutor/include/streamexecutor/Device.h b/parallel-libs/streamexecutor/include/streamexecutor/Device.h
index 53c0c2f1cd2..bf73655aea4 100644
--- a/parallel-libs/streamexecutor/include/streamexecutor/Device.h
+++ b/parallel-libs/streamexecutor/include/streamexecutor/Device.h
@@ -26,6 +26,10 @@ namespace streamexecutor {
class Stream;
+/// A class representing a StreamExecutor device.
+///
+/// Device instances are basically just pointers to the underlying
+/// implementation, so they are small and can be passed around by value.
class Device {
public:
explicit Device(PlatformDevice *PDevice);