summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-09-19Work around another Excel bug with incorrect shared formula range.Kohei Yoshida
Take the start row position from the preceding formula record, rather than believing what's in the shared formula record. The latter can be wrong, and can be wrong often. Change-Id: I3a4da110727a7719e5f8cb3e6250c0e1bef04c64
2013-09-19fix storing of open cl device in configuration filesMarkus Mohrhard
Change-Id: Icc343b55fe40c430b87d2e4c98701d78c61e3a96
2013-09-19small fixes for broken codeMarkus Mohrhard
Change-Id: I77afc818d5575523077328042ac9418f521edc9c
2013-09-19select maximum one opencl deviceMarkus Mohrhard
Change-Id: If06caaa6b39131359ffc81fadad200c8cf8fe24a
2013-09-19fix memory leakMarkus Mohrhard
Change-Id: If1afe59bc5bb40bb3fff4c74b863c6d77e006cc5
2013-09-19fall back to compiling from source if binary failedMarkus Mohrhard
Change-Id: I8e8d8fb5b1da18c44e1537f97317d4e5b57c47b6
2013-09-19void* is dangerousMarkus Mohrhard
no idea how that ever worked Change-Id: Ie14c86a241a2fa7e1963385987245cd0ee965fcf
2013-09-19use $UserInstallation/cache to cache opencl kernelsMarkus Mohrhard
Change-Id: I2ba1fb6172cfd0c725a45d4506b46e8f04a33093
2013-09-19read the binary files from the cached folderMarkus Mohrhard
Change-Id: Ifc5084a3d8ef661e3b3fca7fbc76e1c0c62b2056
2013-09-19replace one more file write with location in profile directoryMarkus Mohrhard
Change-Id: I1774f66d018923c6f892d21acf8a81330628cd98
2013-09-19fix another memory leakMarkus Mohrhard
Change-Id: I6761bcc137934b02815ce10d43f3bc9bee7a1b90
2013-09-19fix another memory leakMarkus Mohrhard
Change-Id: I31359f121fa858dfc1868d74a2f827e5332592c3
2013-09-19use $UserInstallation/cache to cache opencl kernelsMarkus Mohrhard
Change-Id: I2ba1fb6172cfd0c725a45d4506b46e8f04a33093
2013-09-19In xlsx, a better heuristic is based on worksheet dimension.Kohei Yoshida
And start OpenCL kernel compilation right away if the dimension is large enough to make the sheet import slow. Change-Id: Iee3e8dc1f0cb64eb1d8778db19c6edd73e971136
2013-09-19Be explicit on what kind of "kernels" we are compiling.Kohei Yoshida
Change-Id: I2415a192d98b94e86c08c138ad39cfdbf36ea283
2013-09-19Add a heuristic to avoid always pre-compile OpenCL kernels (for xls).Kohei Yoshida
If we still have 3 MB worth of stream to parse after the first formula record, we pre-compile OpenCL kernels in a separate thread. Change-Id: I129d95c26f26e4b1eb989bc2a1764a3f87f71fcb
2013-09-19Oops this wasn't meant to be checked in.Kohei Yoshida
Change-Id: I6eccbd38a44dfaec66718df210884067beaaf30e
2013-09-19Fix illegal memory access between malloc and memset.Kohei Yoshida
Change-Id: I6f040e48a1a60b8f4fc1f2424a24ff362de9a31e
2013-09-19Bail out early on error.Kohei Yoshida
Change-Id: I1844284ff829f6af6c2cfe10935cfc1eef155deb
2013-09-19Wrong config option name.Kohei Yoshida
Change-Id: Ibbd2d9ed7ee20b8cc911bb5f3247bade617b7c74
2013-09-19Pre-compile OpenCL kernels during xlsx file load as well.Kohei Yoshida
Change-Id: Id31190b2a9eb496f146fbbeaaf8a223d46492a99
2013-09-19Compiler warning.Kohei Yoshida
Change-Id: Ibf3d21d2666b5c2504804141200ea0fcf9897565
2013-09-19Let's treat oclMatrixSolve equally. No special treatment for this guy.Kohei Yoshida
Change-Id: I79d36ad7c95bf4cc8cd6bb4fd55dcedd5cd70684
2013-09-19Compile kernel when fetching the Kernel instance.Kohei Yoshida
To make the code a bit cleaner. Change-Id: Id129cea834e950e422e55e6c2504c1f88c5dbeab
2013-09-19Compile kernels for real.Kohei Yoshida
Change-Id: I7c5e6707e6f733b26d5bb6d6b0d48b0f338625bc
2013-09-19Set up a thread to compile OpenCL kernels during file load.Kohei Yoshida
It's still a no-op & we need to have a smart mechanism to conditionally trigger it rather than running it in all documents. Change-Id: Ia875ebb9405b5de5c5d31418de84c5ca7a62f302
2013-09-19we no longer use that method for initializing openclMarkus Mohrhard
Change-Id: I779adb453cfe91328d5583f990b7c57d482fb7dc
2013-09-19remove unused methodMarkus Mohrhard
Change-Id: Id33348c76297583e843af2a1ea43f7f755b86033
2013-09-19introduce strong versioning of the kernel sourcesMarkus Mohrhard
Change-Id: If42711467b1c8cae4b1044464c7254792ddcd6ad
2013-09-19use OString instead of char* for file nameMarkus Mohrhard
Change-Id: Idd69827c50056febd30f18bd8ade2b4160eafd02
2013-09-19we can still write the next files out if one failsMarkus Mohrhard
Change-Id: Ibfb604692f8d5d6f01652af6d6e09339c49be6af
2013-09-19share the setting for the device name lengthMarkus Mohrhard
Change-Id: I5605d05240bc110916400239db203eeb6b8dde35
2013-09-19fix a number of memory leaksMarkus Mohrhard
Change-Id: I1e81558d0f087c1629006b757b1efb332108d5f1
2013-09-19Properly cache compiled kernel instances.Kohei Yoshida
Change-Id: If9090f5430106541928bdfb3c50eefc7fd01e9f0
2013-09-19reintroduce changes from TorMarkus Mohrhard
Change-Id: I3b32e6754f8b86e7875ff6dd09b4dd0f38f8df4e
2013-09-19This base class is pointless.Kohei Yoshida
Change-Id: I16094fa3aea2ac31b5289367dac21bc901bc9f23
2013-09-19OpenclDevice is a stateless class. Make all its methods static.Kohei Yoshida
Change-Id: I5eb1bead219ec9ffd759a26d8d5f1abe499f1ee1
2013-09-19I didn't mean to change that.Kohei Yoshida
Change-Id: I0da67563b93ead9ffc3350cd01733b0a6d094f05
2013-09-19Remove unused methods.Kohei Yoshida
Change-Id: Idfb6acde20e883e4c20e0f640fdb96ac50bb349f
2013-09-19Use std::vector to store pre-defined kernel names.Kohei Yoshida
Change-Id: I5de148a98411f85f5318ee6e5b0b41786d152a83
2013-09-19Some cleanups.Kohei Yoshida
Change-Id: I35bc92fc4bd5feb80b804d411fcd29feacab41ee
2013-09-19Need return statement here...Kohei Yoshida
Change-Id: Id6a63ee106b50ccb5558c8c9aa7fe363e2a1ee29
2013-09-19only list opencl devices with double supportMarkus Mohrhard
Change-Id: I90eec86fff08fd20f4567551932bf328adc85859
2013-09-19select the correct entry when opening the dialogMarkus Mohrhard
Change-Id: Ib1f418e9f05ce2f57029e51ab6dfcd139d6f3f6d
2013-09-19add the software interpreter to the listMarkus Mohrhard
Change-Id: I1462b6321a195a6863746ce296575b64b140e0ec
2013-09-19store the opencl device id and propagate it from the ui to opencl codeMarkus Mohrhard
Change-Id: I47ed4add16c804e598feebd84ae823a45d2f8dd9
2013-09-19add a way to change the opencl deviceMarkus Mohrhard
We also use this method now to init OpenCL. It respects the auto select settings and will later take care of choosing the stored opencl device Change-Id: Ib3710851ac5f8d50796e4bba3b25ade77b36d204
2013-09-19implement method for switching opencl devicesMarkus Mohrhard
Change-Id: I00f00618e7bf3eb256a2fcef16520927b53dfc9a
2013-09-19Avoid having build-time dependency on scopencl.Kohei Yoshida
Change-Id: I32918599dca0556a61b85d868dffbb5e72541e69
2013-09-19store the platform and device id for later look-upMarkus Mohrhard
Change-Id: If95858d3812c913a3695f04bcfac76325171d102