[Parallel_libs-commits] [PATCH] D23333: [StreamExecutor] Add basic Stream operations
James Price via Parallel_libs-commits
parallel_libs-commits at lists.llvm.org
Fri Aug 12 03:12:39 PDT 2016
jprice added a comment.
FWIW, this design feels a lot cleaner to me :-)
================
Comment at: streamexecutor/include/streamexecutor/PlatformInterfaces.h:48
@@ +47,3 @@
+/// the functions in this interface.
+class PlatformStreamExecutor {
+public:
----------------
Missing virtual destructor in this class.
================
Comment at: streamexecutor/include/streamexecutor/PlatformInterfaces.h:60
@@ +59,3 @@
+ /// Destroys the given stream.
+ virtual void deallocateStream(Stream *S) = 0;
+
----------------
Should there be a corresponding platform-specific `allocateStream()`?
https://reviews.llvm.org/D23333
More information about the Parallel_libs-commits
mailing list