llvm-project/parallel-libs/streamexecutor/lib/PlatformInterfaces.cpp
Jason Henline 18ea094df1 [SE] Remove Platform*Handle classes
Summary:
As pointed out by jprice, these classes don't serve a purpose. Instead,
we stay consistent with the way memory is managed and let the Stream and
Kernel classes directly hold opaque handles to device Stream and Kernel
instances, respectively.

Reviewers: jprice, jlebar

Subscribers: parallel_libs-commits

Differential Revision: https://reviews.llvm.org/D24213

llvm-svn: 280719
2016-09-06 17:07:22 +00:00

22 lines
643 B
C++

//===-- PlatformInterfaces.cpp - Platform interface implementations -------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
///
/// \file
/// Implementation file for PlatformInterfaces.h.
///
//===----------------------------------------------------------------------===//
#include "streamexecutor/PlatformInterfaces.h"
namespace streamexecutor {
PlatformDevice::~PlatformDevice() = default;
} // namespace streamexecutor