//===-- 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 PStream) : PDevice(PStream->getDevice()), ThePlatformStream(std::move(PStream)), ErrorMessageMutex(llvm::make_unique()) {} Stream::~Stream() = default; } // namespace streamexecutor