summaryrefslogtreecommitdiff
path: root/offapi/com/sun/star/sheet/opencl/OpenCLDevice.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:44:58 +0100
commitff7ae53efbe9847eb24feaa96d5ca5e4f49ca272 (patch)
tree8b3871dee150f285c43fdd8462377d9c2ba3ad38 /offapi/com/sun/star/sheet/opencl/OpenCLDevice.idl
parent7524119f965c54b863c9a67a19ff0a212c77879f (diff)
add API to retrieve all available OpenCL platforms and devices
Change-Id: I2475961ae315ee7193ca2cedd5943b663bfee7a0
Diffstat (limited to 'offapi/com/sun/star/sheet/opencl/OpenCLDevice.idl')
-rw-r--r--offapi/com/sun/star/sheet/opencl/OpenCLDevice.idl37
1 files changed, 37 insertions, 0 deletions
diff --git a/offapi/com/sun/star/sheet/opencl/OpenCLDevice.idl b/offapi/com/sun/star/sheet/opencl/OpenCLDevice.idl
new file mode 100644
index 000000000000..7cf795f97d02
--- /dev/null
+++ b/offapi/com/sun/star/sheet/opencl/OpenCLDevice.idl
@@ -0,0 +1,37 @@
+/* -*- 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 __com_sun_star_sheet_opencl_OpenCLDevice_idl__
+#define __com_sun_star_sheet_opencl_OpenCLDevice_idl__
+
+module com { module sun { module star { module sheet { module opencl {
+
+struct OpenCLDevice
+{
+ /**
+ * The name of the device as returned by OpenCL
+ */
+ string Name;
+
+ /**
+ * The vendor of the device as returned by OpenCL
+ */
+ string Vendor;
+
+ /**
+ * The driver version as returned by OpenCL
+ */
+ string Driver;
+};
+
+}; }; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */