summaryrefslogtreecommitdiff
path: root/sc/source/core/opencl/openclwrapper.hxx
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-09-17 19:31:41 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-09-19 17:03:25 +0200
commit0093de75d1e2545803e63b35663cbed7bfc5b64f (patch)
tree893725feeae1ae8abf37904e0a2cf9da9f69778f /sc/source/core/opencl/openclwrapper.hxx
parent8f0a558f580516a4810552060c3da69ff6e2aa23 (diff)
use $UserInstallation/cache to cache opencl kernels
Change-Id: I2ba1fb6172cfd0c725a45d4506b46e8f04a33093
Diffstat (limited to 'sc/source/core/opencl/openclwrapper.hxx')
-rw-r--r--sc/source/core/opencl/openclwrapper.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sc/source/core/opencl/openclwrapper.hxx b/sc/source/core/opencl/openclwrapper.hxx
index 5a89e6b910e8..7bcf5c4ee337 100644
--- a/sc/source/core/opencl/openclwrapper.hxx
+++ b/sc/source/core/opencl/openclwrapper.hxx
@@ -163,6 +163,8 @@ public:
static GPUEnv gpuEnv;
static int isInited;
static OString maSourceHash;
+ static OString maCacheFolder;
+
static int registOpenclKernel();
static int releaseOpenclRunEnv();
static int initOpenclRunEnv( GPUEnv *gpu );