summaryrefslogtreecommitdiff
path: root/sc/inc/formulacell.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2014-03-20 10:13:15 -0400
committerKohei Yoshida <kohei.yoshida@collabora.com>2014-03-20 10:14:03 -0400
commite0d936ef7b7fd6b57cdd5ccadddcbd84bd4bb359 (patch)
tree06ba68b1e5bed66a1270ef710c59da4587b332cb /sc/inc/formulacell.hxx
parent1c2781df13ac7d8ec29c12407d1f5a009ac4e224 (diff)
More code that's specific to OpenCL kernel pre-compilation.
Change-Id: I82474c48924aca36d9fde468081fb2457a153ac6
Diffstat (limited to 'sc/inc/formulacell.hxx')
-rw-r--r--sc/inc/formulacell.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/sc/inc/formulacell.hxx b/sc/inc/formulacell.hxx
index 81dd1fdfdf2e..0c6cb12cea13 100644
--- a/sc/inc/formulacell.hxx
+++ b/sc/inc/formulacell.hxx
@@ -34,6 +34,8 @@
#include "formularesult.hxx"
+#define ENABLE_THREADED_OPENCL_KERNEL_COMPILATION 0
+
namespace sc {
class CLBuildKernelThread;
@@ -78,8 +80,10 @@ struct SC_DLLPUBLIC ScFormulaCellGroup : boost::noncopyable
ScDocument& rDoc, const ScAddress& rPos, formula::FormulaGrammar::Grammar eGram );
void compileOpenCLKernel();
+#if ENABLE_THREADED_OPENCL_KERNEL_COMPILATION
static int snCount;
static rtl::Reference<sc::CLBuildKernelThread> sxCompilationThread;
+#endif
};
inline void intrusive_ptr_add_ref(const ScFormulaCellGroup *p)