diff options
author | Wei Wei <weiwei@multicorewareinc.com> | 2014-02-28 15:07:36 -0600 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2014-03-01 09:38:30 +0100 |
commit | f6fb7359657425acfb045a6daeaad20ca70a6cb8 (patch) | |
tree | bde7ff29c3db8c4d0c6801b3b69167e61914c423 | |
parent | e83eab460b7f31265b209c4bfff7eb4d235e9a77 (diff) |
GPU-Calc: remove Alloc_Host_Ptr for clmem of NAN vectorlibreoffice-4-2-milestone-7
Change-Id: I94841f3e4df30265f609b1405453f18f251e6beb
-rw-r--r-- | sc/source/core/opencl/formulagroupcl.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/opencl/formulagroupcl.cxx b/sc/source/core/opencl/formulagroupcl.cxx index 82cafdb5a4b2..5c7ed58deb7c 100644 --- a/sc/source/core/opencl/formulagroupcl.cxx +++ b/sc/source/core/opencl/formulagroupcl.cxx @@ -112,7 +112,7 @@ size_t VectorRef::Marshal(cl_kernel k, int argno, int, cl_program) szHostBuffer = requestedLength * sizeof(double);//vector length for NAN vector // Marshal as a buffer of NANs mpClmem = clCreateBuffer(kEnv.mpkContext, - (cl_mem_flags) CL_MEM_READ_ONLY|CL_MEM_ALLOC_HOST_PTR, + (cl_mem_flags) CL_MEM_READ_ONLY, szHostBuffer, NULL, &err); if (CL_SUCCESS != err) throw OpenCLError(err); |