bump product version to 5.0.4.1
[LibreOffice.git] / opencl / source / platforminfo.cxx
blob4871702800a0bfaf724e72006824094b76214511
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
10 #include <ostream>
12 #include <opencl/platforminfo.hxx>
14 OpenCLDeviceInfo::OpenCLDeviceInfo()
15 : device(0)
16 , mnMemory(0)
17 , mnComputeUnits(0)
18 , mnFrequency(0)
22 OpenCLPlatformInfo::OpenCLPlatformInfo()
23 : platform(NULL)
27 std::ostream& operator<<(std::ostream& rStream, const OpenCLPlatformInfo& rPlatform)
29 rStream << "{"
30 "Vendor=" << rPlatform.maVendor << ","
31 "Name=" << rPlatform.maName <<
32 "}";
33 return rStream;
36 std::ostream& operator<<(std::ostream& rStream, const OpenCLDeviceInfo& rDevice)
38 rStream << "{"
39 "Name=" << rDevice.maName << ","
40 "Vendor=" << rDevice.maVendor << ","
41 "Driver=" << rDevice.maDriver <<
42 "}";
43 return rStream;
46 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */