summaryrefslogtreecommitdiffstats
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
commit3a90112591ba70d0631572c4cfa4d1fba7858b6a (patch)
treefbf68951d1da4adc304d17f53e641b06be00d2e2 /parallel-libs
parent16a5352121a39ce09cfc2dbaa4598207ffa0740c (diff)
downloadbcm5719-llvm-3a90112591ba70d0631572c4cfa4d1fba7858b6a.tar.gz
bcm5719-llvm-3a90112591ba70d0631572c4cfa4d1fba7858b6a.zip
Device doc says device is small
llvm-svn: 281423
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);
OpenPOWER on IntegriCloud