LibreOffice
LibreOffice 24.2 SDK API Reference
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 
10 module com { module sun { module star { module sheet { module opencl {
11 
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: */
Definition: Ambiguous.idl:20
Definition: XOpenCLSelection.idl:12
base interface of all UNO interfaces
Definition: XInterface.idl:45