summaryrefslogtreecommitdiff
path: root/sc/source/core/opencl/opencl_device.hxx
blob: e013943f68c7105183be0666602bad9e8c02070c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/* -*- 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 SC_OPENCL_DEVICE_HXX
#define SC_OPENCL_DEVICE_HXX

#pragma once
#include "opencl_device_selection.h"

namespace sc { 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: */