2013-11-19 16:36:00 -05:00
|
|
|
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
|
|
|
/*
|
|
|
|
* This file is part of the LibreOffice project.
|
|
|
|
*
|
|
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
*/
|
|
|
|
|
2014-11-27 15:13:12 +02:00
|
|
|
#ifndef INCLUDED_OPENCL_INC_OPENCL_DEVICE_HXX
|
|
|
|
#define INCLUDED_OPENCL_INC_OPENCL_DEVICE_HXX
|
2013-11-19 16:36:00 -05:00
|
|
|
|
|
|
|
#include "opencl_device_selection.h"
|
|
|
|
|
2014-11-27 17:43:55 +02:00
|
|
|
namespace opencl {
|
2013-11-19 16:36:00 -05:00
|
|
|
|
|
|
|
ds_device getDeviceSelection(const char* pFileName, bool bForceSelection = false);
|
|
|
|
bool selectedDeviceIsOpenCL(ds_device device);
|
|
|
|
bool selectedDeviceIsNativeCPU(ds_device device);
|
|
|
|
|
2014-11-27 15:13:12 +02:00
|
|
|
}
|
2013-11-19 16:36:00 -05:00
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|