xref: /aosp_15_r20/external/angle/src/libANGLE/renderer/CLPlatformImpl.cpp (revision 8975f5c5ed3d1c378011245431ada316dfb6f244)
1 //
2 // Copyright 2021 The ANGLE Project Authors. All rights reserved.
3 // Use of this source code is governed by a BSD-style license that can be
4 // found in the LICENSE file.
5 //
6 // CLPlatformImpl.cpp: Implements the class methods for CLPlatformImpl.
7 
8 #include "libANGLE/renderer/CLPlatformImpl.h"
9 
10 namespace rx
11 {
12 
13 CLPlatformImpl::Info::Info() = default;
14 
15 CLPlatformImpl::Info::~Info() = default;
16 
17 CLPlatformImpl::Info::Info(Info &&) = default;
18 
19 CLPlatformImpl::Info &CLPlatformImpl::Info::operator=(Info &&) = default;
20 
CLPlatformImpl(const cl::Platform & platform)21 CLPlatformImpl::CLPlatformImpl(const cl::Platform &platform) : mPlatform(platform) {}
22 
23 CLPlatformImpl::~CLPlatformImpl() = default;
24 
25 }  // namespace rx
26