summaryrefslogtreecommitdiff
path: root/opencl/source
diff options
context:
space:
mode:
Diffstat (limited to 'opencl/source')
-rw-r--r--opencl/source/opencl_device.cxx4
-rw-r--r--opencl/source/openclwrapper.cxx6
2 files changed, 2 insertions, 8 deletions
diff --git a/opencl/source/opencl_device.cxx b/opencl/source/opencl_device.cxx
index 55f594ba713f..d6b59729c14a 100644
--- a/opencl/source/opencl_device.cxx
+++ b/opencl/source/opencl_device.cxx
@@ -7,17 +7,14 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#include <math.h>
#include <float.h>
#include <iostream>
-#include <sstream>
#include <memory>
#include <vector>
#include <algorithm>
#include <comphelper/random.hxx>
#include <opencl/openclconfig.hxx>
-#include <opencl/openclwrapper.hxx>
#include <opencl/platforminfo.hxx>
#include <sal/log.hxx>
#include <rtl/math.hxx>
@@ -26,6 +23,7 @@
#include <opencl/OpenCLZone.hxx>
#include <opencl_device.hxx>
+#include <opencl_device_selection.h>
#define INPUTSIZE 15360
#define OUTPUTSIZE 15360
diff --git a/opencl/source/openclwrapper.cxx b/opencl/source/openclwrapper.cxx
index 26a5e6b7f1b8..ffb1cc788f31 100644
--- a/opencl/source/openclwrapper.cxx
+++ b/opencl/source/openclwrapper.cxx
@@ -10,6 +10,7 @@
#include <config_folders.h>
#include <opencl_device.hxx>
+#include <opencl_device_selection.h>
#include <opencl/openclconfig.hxx>
#include <opencl/openclwrapper.hxx>
@@ -24,13 +25,8 @@
#include <opencl/OpenCLZone.hxx>
#include <memory>
-#include <unicode/regex.h>
-#include <stdio.h>
#include <stdlib.h>
-#include <string.h>
-
-#include <cmath>
#include <officecfg/Office/Common.hxx>