diff options
Diffstat (limited to 'opencl/inc/opencl_device.hxx')
-rw-r--r-- | opencl/inc/opencl_device.hxx | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/opencl/inc/opencl_device.hxx b/opencl/inc/opencl_device.hxx new file mode 100644 index 000000000000..7435879ecc83 --- /dev/null +++ b/opencl/inc/opencl_device.hxx @@ -0,0 +1,25 @@ +/* -*- 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/. + */ + +#ifndef INCLUDED_OPENCL_INC_OPENCL_DEVICE_HXX +#define INCLUDED_OPENCL_INC_OPENCL_DEVICE_HXX + +#include "opencl_device_selection.h" + +namespace OpenCLDevice { + +ds_device getDeviceSelection(const char* pFileName, bool bForceSelection = false); +bool selectedDeviceIsOpenCL(ds_device device); +bool selectedDeviceIsNativeCPU(ds_device device); + +} + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |