summaryrefslogtreecommitdiff
path: root/sc/source/core/opencl/openclwrapper.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2013-09-11 14:22:48 -0400
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-09-19 17:03:15 +0200
commit4aa113b2290591eeda1430c13775157b086b3b52 (patch)
tree2b13b42476fa19ddd1c6ebc74be11caeb7120102 /sc/source/core/opencl/openclwrapper.hxx
parent4c859c1dac2e50bf0235291261f011b3e0abeab3 (diff)
Use clew from clcc to allow run-time loading of opencl drivers.
Change-Id: I9f6ce113d637dbec069caa86b32459e2001ec0a0
Diffstat (limited to 'sc/source/core/opencl/openclwrapper.hxx')
-rw-r--r--sc/source/core/opencl/openclwrapper.hxx7
1 files changed, 2 insertions, 5 deletions
diff --git a/sc/source/core/opencl/openclwrapper.hxx b/sc/source/core/opencl/openclwrapper.hxx
index d1e892593eaf..685c281e003d 100644
--- a/sc/source/core/opencl/openclwrapper.hxx
+++ b/sc/source/core/opencl/openclwrapper.hxx
@@ -14,11 +14,8 @@
#include <formula/opcode.hxx>
#include <sal/detail/log.h>
#include <cassert>
-#ifdef __APPLE__
-#include <OpenCL/cl.h>
-#else
-#include <CL/cl.h>
-#endif
+
+#include "clcc/clew.h"
// CL_MAP_WRITE_INVALIDATE_REGION is new in OpenCL 1.2.