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 // CLDeviceImpl.cpp: Implements the class methods for CLDeviceImpl. 7 8 #include "libANGLE/renderer/CLDeviceImpl.h" 9 10 #include "libANGLE/Debug.h" 11 12 namespace rx 13 { 14 15 CLDeviceImpl::Info::Info() = default; 16 Info(cl::DeviceType deviceType)17CLDeviceImpl::Info::Info(cl::DeviceType deviceType) : type(deviceType) {} 18 19 CLDeviceImpl::Info::~Info() = default; 20 21 CLDeviceImpl::Info::Info(Info &&) = default; 22 23 CLDeviceImpl::Info &CLDeviceImpl::Info::operator=(Info &&) = default; 24 CLDeviceImpl(const cl::Device & device)25CLDeviceImpl::CLDeviceImpl(const cl::Device &device) : mDevice(device) {} 26 27 CLDeviceImpl::~CLDeviceImpl() = default; 28 29 } // namespace rx 30