LCOV - code coverage report
Current view: top level - opencl/source - platforminfo.cxx (source / functions) Hit Total Coverage
Test: commit c8344322a7af75b84dd3ca8f78b05543a976dfd5 Lines: 0 17 0.0 %
Date: 2015-06-13 12:38:46 Functions: 0 4 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
       2             : /*
       3             :  * This file is part of the LibreOffice project.
       4             :  *
       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             :  */
       9             : 
      10             : #include <ostream>
      11             : 
      12             : #include <opencl/platforminfo.hxx>
      13             : 
      14           0 : OpenCLDeviceInfo::OpenCLDeviceInfo()
      15             :     : device(0)
      16             :     , mnMemory(0)
      17             :     , mnComputeUnits(0)
      18           0 :     , mnFrequency(0)
      19             : {
      20           0 : }
      21             : 
      22           0 : OpenCLPlatformInfo::OpenCLPlatformInfo()
      23           0 :     : platform(NULL)
      24             : {
      25           0 : }
      26             : 
      27           0 : std::ostream& operator<<(std::ostream& rStream, const OpenCLPlatformInfo& rPlatform)
      28             : {
      29             :     rStream << "{"
      30           0 :         "Vendor=" << rPlatform.maVendor << ","
      31           0 :         "Name=" << rPlatform.maName <<
      32           0 :         "}";
      33           0 :     return rStream;
      34             : }
      35             : 
      36           0 : std::ostream& operator<<(std::ostream& rStream, const OpenCLDeviceInfo& rDevice)
      37             : {
      38             :     rStream << "{"
      39           0 :         "Name=" << rDevice.maName << ","
      40           0 :         "Vendor=" << rDevice.maVendor << ","
      41           0 :         "Driver=" << rDevice.maDriver <<
      42           0 :         "}";
      43           0 :     return rStream;
      44             : }
      45             : 
      46             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.11