LibreOffice
LibreOffice 5.3 SDK API Reference
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
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 
11 
12 module com { module sun { module star { module sheet { module opencl {
13 
15 {
16 
24  boolean isOpenCLEnabled();
25 
32  void enableOpenCL( [in] boolean enable );
33 
38  void enableAutomaticDeviceSelection( [in] boolean force );
39 
43  void disableAutomaticDeviceSelection();
44 
52  void selectOpenCLDevice( [in] long platform, [in] long device );
53 
61  long getPlatformID();
62 
70  long getDeviceID();
71 
75  sequence< OpenCLPlatform > getOpenCLPlatforms();
76 
77  /*
78  * Sets OpenCL to be considered only for formulas that use only a specific subset of opcodes.
79  */
80  void enableOpcodeSubsetTest();
81 
82  /*
83  * Sets OpenCL to be considered for formulas regardless of what opcodes they contain.
84  */
85  void disableOpcodeSubsetTest();
86 
87  /*
88  * Returns whether OpenCL is considered or not depending on the opcodes a formula uses.
89  */
90  boolean isOpcodeSubsetTested();
91 
92  /*
93  * Sets the lower limit on the size of a formula group for OpenCL to be considered. (Sorry, the name is misleading.)
94  */
95  void setFormulaCellNumberLimit( [in] long number );
96 
97  /*
98  * Returns the lower limit on the size of a formula group for OpenCL to be considered.
99  */
100  long getFormulaCellNumberLimit();
101 
102 };
103 
104 }; }; }; }; };
105 
106 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Definition: XOpenCLSelection.idl:14
base interface of all UNO interfaces
Definition: XInterface.idl:47