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 // CLKernelImpl.cpp: Implements the class methods for CLKernelImpl. 7 8 #include "libANGLE/renderer/CLKernelImpl.h" 9 10 namespace rx 11 { 12 13 CLKernelImpl::WorkGroupInfo::WorkGroupInfo() = default; 14 15 CLKernelImpl::WorkGroupInfo::~WorkGroupInfo() = default; 16 17 CLKernelImpl::WorkGroupInfo::WorkGroupInfo(WorkGroupInfo &&) = default; 18 19 CLKernelImpl::WorkGroupInfo &CLKernelImpl::WorkGroupInfo::operator=(WorkGroupInfo &&) = default; 20 21 CLKernelImpl::ArgInfo::ArgInfo() = default; 22 23 CLKernelImpl::ArgInfo::~ArgInfo() = default; 24 25 CLKernelImpl::ArgInfo::ArgInfo(ArgInfo &&) = default; 26 27 CLKernelImpl::ArgInfo &CLKernelImpl::ArgInfo::operator=(ArgInfo &&) = default; 28 29 CLKernelImpl::Info::Info() = default; 30 31 CLKernelImpl::Info::~Info() = default; 32 33 CLKernelImpl::Info::Info(Info &&) = default; 34 35 CLKernelImpl::Info &CLKernelImpl::Info::operator=(Info &&) = default; 36 CLKernelImpl(const cl::Kernel & kernel)37CLKernelImpl::CLKernelImpl(const cl::Kernel &kernel) : mKernel(kernel) {} 38 39 CLKernelImpl::~CLKernelImpl() = default; 40 41 } // namespace rx 42