summaryrefslogtreecommitdiffstats
path: root/offapi/com/sun/star/sheet/opencl/XOpenCLSelection.idl
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-11-23 20:02:26 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-11-25 20:43:49 +0100
commit4e736a8b8ce4d69c5be924b77bb07bd19b1e4d73 (patch)
treec340781615eb272ea9e6a3cf852e27aaf3dc39c6 /offapi/com/sun/star/sheet/opencl/XOpenCLSelection.idl
parentprovide UNO API for OpenCL selection (diff)
downloadcore-4e736a8b8ce4d69c5be924b77bb07bd19b1e4d73.tar.gz
core-4e736a8b8ce4d69c5be924b77bb07bd19b1e4d73.zip
add API to retrieve all available OpenCL platforms and devices
Change-Id: I2475961ae315ee7193ca2cedd5943b663bfee7a0
Diffstat (limited to 'offapi/com/sun/star/sheet/opencl/XOpenCLSelection.idl')
-rw-r--r--offapi/com/sun/star/sheet/opencl/XOpenCLSelection.idl7
1 files changed, 7 insertions, 0 deletions
diff --git a/offapi/com/sun/star/sheet/opencl/XOpenCLSelection.idl b/offapi/com/sun/star/sheet/opencl/XOpenCLSelection.idl
index c6e18cf30e27..26ab32885ac7 100644
--- a/offapi/com/sun/star/sheet/opencl/XOpenCLSelection.idl
+++ b/offapi/com/sun/star/sheet/opencl/XOpenCLSelection.idl
@@ -7,6 +7,8 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
+#include <com/sun/star/sheet/opencl/OpenCLPlatform.idl>
+
module com { module sun { module star { module sheet { module opencl {
interface XOpenCLSelection : com::sun::star::uno::XInterface
@@ -38,6 +40,11 @@ interface XOpenCLSelection : com::sun::star::uno::XInterface
*/
long getDeviceID();
+ /**
+ * lists all OpenCL devices and platforms
+ */
+ sequence< OpenCLPlatform > getOpenCLPlatforms();
+
};
}; }; }; }; };