[Parallel_libs-commits] [parallel-libs] r281423 - Device doc says device is small
Jason Henline via Parallel_libs-commits
parallel_libs-commits at lists.llvm.org
Tue Sep 13 16:56:48 PDT 2016
Author: jhen
Date: Tue Sep 13 18:56:47 2016
New Revision: 281423
URL: http://llvm.org/viewvc/llvm-project?rev=281423&view=rev
Log:
Device doc says device is small
Modified:
parallel-libs/trunk/streamexecutor/include/streamexecutor/Device.h
Modified: parallel-libs/trunk/streamexecutor/include/streamexecutor/Device.h
URL: http://llvm.org/viewvc/llvm-project/parallel-libs/trunk/streamexecutor/include/streamexecutor/Device.h?rev=281423&r1=281422&r2=281423&view=diff
==============================================================================
--- parallel-libs/trunk/streamexecutor/include/streamexecutor/Device.h (original)
+++ parallel-libs/trunk/streamexecutor/include/streamexecutor/Device.h Tue Sep 13 18:56:47 2016
@@ -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);
More information about the Parallel_libs-commits
mailing list