Summary: This more clearly describes what the class is. Reviewers: jlebar Subscribers: jprice, parallel_libs-commits Differential Revision: https://reviews.llvm.org/D23851 llvm-svn: 279669
25 lines
785 B
C++
25 lines
785 B
C++
//===-- Stream.cpp - General stream implementation ------------------------===//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
///
|
|
/// \file
|
|
/// This file contains the implementation details for a general stream object.
|
|
///
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#include "streamexecutor/Stream.h"
|
|
|
|
namespace streamexecutor {
|
|
|
|
Stream::Stream(std::unique_ptr<PlatformStreamHandle> PStream)
|
|
: PDevice(PStream->getDevice()), ThePlatformStream(std::move(PStream)) {}
|
|
|
|
Stream::~Stream() = default;
|
|
|
|
} // namespace streamexecutor
|