summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/opencl/openclconfig.hxx4
-rw-r--r--include/opencl/openclwrapper.hxx8
-rw-r--r--opencl/source/openclwrapper.cxx1
3 files changed, 7 insertions, 6 deletions
diff --git a/include/opencl/openclconfig.hxx b/include/opencl/openclconfig.hxx
index e5fd6dd00305..c7a188a73203 100644
--- a/include/opencl/openclconfig.hxx
+++ b/include/opencl/openclconfig.hxx
@@ -14,9 +14,11 @@
#include <set>
#include <opencl/opencldllapi.h>
-#include <opencl/platforminfo.hxx>
#include <rtl/ustring.hxx>
+struct OpenCLDeviceInfo;
+struct OpenCLPlatformInfo;
+
struct OPENCL_DLLPUBLIC OpenCLConfig
{
struct ImplMatcher
diff --git a/include/opencl/openclwrapper.hxx b/include/opencl/openclwrapper.hxx
index 1b5ac674a01c..67dfc8798416 100644
--- a/include/opencl/openclwrapper.hxx
+++ b/include/opencl/openclwrapper.hxx
@@ -10,22 +10,20 @@
#ifndef INCLUDED_SC_SOURCE_CORE_OPENCL_OPENCLWRAPPER_HXX
#define INCLUDED_SC_SOURCE_CORE_OPENCL_OPENCLWRAPPER_HXX
-#include <cassert>
#include <vector>
#include <clew/clew.h>
-#include <sal/detail/log.h>
#include <opencl/opencldllapi.h>
-#include <opencl/platforminfo.hxx>
-#include <osl/file.hxx>
-#include <rtl/string.hxx>
+#include <rtl/ustring.hxx>
#define MAX_CLFILE_NUM 50
#define OPENCL_CMDQUEUE_SIZE 1 // number of command queues per OpenCL device.
#include <cstdio>
+struct OpenCLPlatformInfo;
+
namespace openclwrapper
{
diff --git a/opencl/source/openclwrapper.cxx b/opencl/source/openclwrapper.cxx
index bee764560e83..213351cc7450 100644
--- a/opencl/source/openclwrapper.cxx
+++ b/opencl/source/openclwrapper.cxx
@@ -13,6 +13,7 @@
#include <opencl/openclconfig.hxx>
#include <opencl/openclwrapper.hxx>
+#include <opencl/platforminfo.hxx>
#include <osl/file.hxx>
#include <rtl/bootstrap.hxx>
#include <rtl/digest.h>