LibreOffice: com/sun/star/sheet/opencl/XOpenCLSelection.idl Source File

LibreOffice LibreOffice 24.8 SDK API Reference |

Loading...
Searching...
No Matches
XOpenCLSelection.idl
Go to the documentation of this file.
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
10module com { module sun { module star { module sheet { module opencl {
11
12 interface XOpenCLSelection : com::sun::star::uno::XInterface
13{
14
22 boolean isOpenCLEnabled();
23
30 void enableOpenCL( [in] boolean enable );
31
36 void enableAutomaticDeviceSelection( [in] boolean force );
37
41 void disableAutomaticDeviceSelection();
42
50 void selectOpenCLDevice( [in] long platform, [in] long device );
51
59 long getPlatformID();
60
68 long getDeviceID();
69
73 sequence< OpenCLPlatform > getOpenCLPlatforms();
74
75 /*
76 * Sets OpenCL to be considered only for formulas that use only a specific subset of opcodes.
77 */
78 void enableOpcodeSubsetTest();
79
80 /*
81 * Sets OpenCL to be considered for formulas regardless of what opcodes they contain.
82 */
83 void disableOpcodeSubsetTest();
84
85 /*
86 * Returns whether OpenCL is considered or not depending on the opcodes a formula uses.
87 */
88 boolean isOpcodeSubsetTested();
89
90 /*
91 * Sets the lower limit on the size of a formula group for OpenCL to be considered. (Sorry, the name is misleading.)
92 */
93 void setFormulaCellNumberLimit( [in] long number );
94
95 /*
96 * Returns the lower limit on the size of a formula group for OpenCL to be considered.
97 */
98 long getFormulaCellNumberLimit();
99
100};
101
102}; }; }; }; };
103
104/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com::sun::star::sheet::opencl::XOpenCLSelection
Definition XOpenCLSelection.idl:13
com::sun::star::sheet::opencl::XOpenCLSelection::getOpenCLPlatforms
sequence< OpenCLPlatform > getOpenCLPlatforms()
lists all OpenCL devices and platforms
com::sun::star::sheet::opencl::XOpenCLSelection::getFormulaCellNumberLimit
long getFormulaCellNumberLimit()
com::sun::star::sheet::opencl::XOpenCLSelection::isOpenCLEnabled
boolean isOpenCLEnabled()
Returns true if calculation with OpenCL is enabled (at all).
com::sun::star::sheet::opencl::XOpenCLSelection::getPlatformID
long getPlatformID()
returns the index of the platform of the currently selected device.
com::sun::star::sheet::opencl::XOpenCLSelection::setFormulaCellNumberLimit
void setFormulaCellNumberLimit([in] long number)
com::sun::star::sheet::opencl::XOpenCLSelection::enableOpenCL
void enableOpenCL([in] boolean enable)
Enables or disables use of OpenCL for calculations.
com::sun::star::sheet::opencl::XOpenCLSelection::selectOpenCLDevice
void selectOpenCLDevice([in] long platform, [in] long device)
Select the OpenCL device with the given platform and device number.
com::sun::star::sheet::opencl::XOpenCLSelection::disableOpcodeSubsetTest
void disableOpcodeSubsetTest()
com::sun::star::sheet::opencl::XOpenCLSelection::disableAutomaticDeviceSelection
void disableAutomaticDeviceSelection()
Disables automatic OpenCL Device Selection.
com::sun::star::sheet::opencl::XOpenCLSelection::enableAutomaticDeviceSelection
void enableAutomaticDeviceSelection([in] boolean force)
Enables automatic OpenCL Device Selection.
com::sun::star::sheet::opencl::XOpenCLSelection::isOpcodeSubsetTested
boolean isOpcodeSubsetTested()
com::sun::star::sheet::opencl::XOpenCLSelection::getDeviceID
long getDeviceID()
returns the index of the currently selected device.
com::sun::star::sheet::opencl::XOpenCLSelection::enableOpcodeSubsetTest
void enableOpcodeSubsetTest()
com::sun::star::uno::XInterface
base interface of all UNO interfaces
Definition generated_idl_chapter_refs.idl:452
com
Definition Ambiguous.idl:20