summaryrefslogtreecommitdiff
path: root/sc/source/core/opencl
AgeCommit message (Collapse)AuthorFilesLines
2014-10-09typo: formual -> formulaAndras Timar1-2/+2
Change-Id: I39b4c2fc4edd7d609b15fc289dd1b053c749f435
2014-10-07Don't call comphelper::rng::uniform_real_distribution(a,b) with a==bTor Lillqvist1-0/+2
Change-Id: I95a3ac8da83e02001de13af8d31a04fe0d654dc0
2014-10-06use comphelper::rng::uniform_*_distribution everywhereCaolán McNamara1-2/+2
and automatically seed from time on first use coverity#1242393 Don't call rand coverity#1242404 Don't call rand coverity#1242410 Don't call rand and additionally allow 0xFF as a value coverity#1242409 Don't call rand coverity#1242399 Don't call rand coverity#1242372 Don't call rand coverity#1242377 Don't call rand coverity#1242378 Don't call rand coverity#1242379 Don't call rand coverity#1242382 Don't call rand coverity#1242383 Don't call rand coverity#1242402 Don't call rand coverity#1242397 Don't call rand coverity#1242390 Don't call rand coverity#1242389 Don't call rand coverity#1242388 Don't call rand coverity#1242386 Don't call rand coverity#1242384 Don't call rand coverity#1242394 Don't call rand Change-Id: I241feab9cb370e091fd6ccaba2af941eb95bc7cf
2014-10-03Let's consistently spell OpenCL as 'OpenCL'.Kohei Yoshida3-69/+69
Change-Id: I8bdcf0667b326b77d11001efeeefd5247987ebdc
2014-10-03Let's not omit 'virtual' keyword here.Kohei Yoshida1-1/+1
Change-Id: Idf4ccbb6415852325acab673a3d81f758e50c880
2014-10-03Make these non-inline.Kohei Yoshida2-67/+77
Change-Id: I1cc28c16796934f20afc53c6f6f083f372b7ce69
2014-10-03Run 'beautify' on these files as well.Kohei Yoshida2-274/+292
And some trivial manual fixing afterward... Change-Id: Ib60411f689b7971a2dd1acd1541864f38b34b570
2014-10-03coverity#1242849 Unused valueCaolán McNamara1-1/+0
status gets overwritten after the switch ends Change-Id: I60d4f61e6e1f31f9dd79c178c9a6f7060d154013
2014-10-02Make the coding style consistent with the rest of Calc code.Kohei Yoshida1-1100/+1205
I just ran SlickEdit's 'beautify' command with some follow-up manual editing. Change-Id: I402e782e7d147c4c95ebaa8ffcc40b50a0c565a7
2014-07-01New loplugin:stringconcatStephan Bergmann5-31/+31
Change-Id: Id7c517fb37bc28797c45fc0dde83e866f2aa4aac
2014-06-25remove whitespaceMarkus Mohrhard17-48/+0
Change-Id: Ib15413e73409cc33de01fa92a47b9d1237cfc4b2
2014-06-18loplugin:saloverrideMatúš Kukan1-1/+1
Change-Id: Ic2799c029c26dcd18a482b51f53248ef1c4b569a
2014-06-17GPU Calc:Support nested formulae expansion for simple nestedhaochen4-75/+142
Change-Id: If1ae42a5481cf76942ff1ac5e0ee31a94159badd
2014-06-12GPU Calc:Add more judge for NAN in SingleVector parameterhaochen1-4/+4
Change-Id: I01f2576e9d8f6a2e677d1fb08097bc81f15bfbe0
2014-06-10loplugin:bodynotinblockStephan Bergmann1-3/+3
Change-Id: Ia403e6c6c6747479adfc5d77b1306d9383b3e706
2014-06-10GPU Calc:Support default 2nd parameter in ROUNDhaochen2-5/+13
Change-Id: I003ba9c945dbc3c6417d0502902610c0eaff2bda
2014-06-10GPU Calc:Support 3rd parameter in FLOORhaochen3-94/+79
Change-Id: Ie3a265f34a5f589d41e802b63df4be6a64989b05
2014-06-10GPU Calc:Support IF formula in GPUInterprethaochen3-0/+63
Change-Id: I9b2cebb99812d28e25c961129f73585d60690846
2014-06-10GPU Calc:Support string arguments in VLookuphaochen5-35/+124
Change-Id: Ic2400a13c07c5b08beccaeffef4899c8f8b43af8
2014-06-06fixincludeguards: fix include guardsThomas Arnhold1-3/+3
Change-Id: Ie6e8d4272b0b1d0d2ce93bcbc2e818a9eac1a56b Reviewed-on: https://gerrit.libreoffice.org/9629 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-05-23coverity#1215280 Unchecked dynamic_castCaolán McNamara1-3/+3
Change-Id: Ie03bb8a870c544eef656594f5ebab35bc61b9030
2014-05-19WaE: unused variable 'tmpCur'Tor Lillqvist1-1/+0
Change-Id: I328812513691f499871002633b9ac750af86243c
2014-05-19GPU Calc:Fixed compiling warning in opbase.cxx&op_math.cxxhaochen2-3/+1
Change-Id: I885bf77a85f7f479a8a9632e64af306be243cdd0
2014-05-19GPU Calc: Fix bughaochen1-67/+147
For arraybound of slidingwindows parameters in COVAR formula Change-Id: I17a601edfbc720d4e3e40fc31bf6efd73b4ac65b
2014-05-19GPU Calc: Fix bughaochen1-88/+179
For arraybound of slidingwindows parameters in Intercept formula Change-Id: I6c96073e859ef7550033e9a46e6cafb11e8bfe0a
2014-05-19GPU Calc: Fixed style&error problem in op_statistical(line 5849-9461)haochen1-56/+15
Change-Id: I85f7bdeb153a8bcee0fe9678db93bc43cf2bc659
2014-05-19GPU Calc: Fixed style&error problem in op_statistical(line 4037-5849)haochen1-73/+17
Change-Id: I5a24bcc91f8c19472aab529e82648d06d13e46d9
2014-05-19GPU Calc: Fixed style&error problem in op_statistical(line 1-4037)haochen1-133/+69
Change-Id: I97f55bffd1e61bc9d3f7f85ab857f82df5475dc4
2014-05-19GPU Calc: Fixed style&error problem in op_math once morehaochen1-49/+41
Change-Id: I768ad4503905b54ef5a7aa54445dbb94ce0493ed
2014-05-19GPU Calc: Fixed style&error problem in op_mathhaochen1-41/+81
Change-Id: I1f177684bdbac76a2f9632bc51482821eb510496
2014-05-19GPU Calc: Support nested formula of string compared in AND formula.haochen1-2/+5
such as AND(MOD($B4, 3)=0, $A4="NQSO") Change-Id: Ie891d4e56eaa39f769f018b6db53ee209dd15540
2014-05-19GPU Calc:Fixed style&error problemhaochen3-56/+38
in op_financial&opbase.cxx&opencl_device.cxx Change-Id: Ic4b8cee77a0a4faec44bcf3650f4f6fa691a9e71
2014-05-19GPU Calc: Fixed style&error problem in formulagroupcl and op_addinhaochen3-15/+88
Change-Id: Id7c6e341eb88f6c8ffdaa7f83b787bb19649afec
2014-05-14Disable jump command reordering of RPN tokens for OpenCL interpreter.Kohei Yoshida1-7/+7
Change-Id: I03e1e8a8cda1ff88b1d65876ffc27605090f1f4d
2014-05-11fix-includes.pl: scThomas Arnhold11-12/+12
Change-Id: Iade3fedac5d2f8e978b7dd9c30f001d7d1564946
2014-04-26cppcheck: fix "Mismatching allocation and deallocation"Julien Nabet1-1/+1
Change-Id: Ic007b07a82eb83978527254518d85c5a2903a48d
2014-04-19fixincludeguards.sh: scThomas Arnhold14-29/+29
sorry, huge one...
2014-04-14typo: direclty -> directlyThomas Arnhold1-1/+1
2014-04-06whitespace cleanup in scMarkus Mohrhard4-8/+0
Change-Id: Id1dcadcac179c52977e48a6912ce4d5fd542f60c
2014-04-01Explicitly mark overriding destructors as "virtual"Stephan Bergmann1-2/+2
It appears that the C++ standard allows overriding destructors to be marked "override," but at least some MSVC versions complain about it, so at least make sure such destructors are explicitly marked "virtual." Change-Id: I0e1cafa7584fd16ebdce61f569eae2373a71b0a1
2014-03-27Second batch of adding SAL_OVERRIDE to overriding function declarationsStephan Bergmann10-651/+651
...mostly done with a rewriting Clang plugin, with just some manual tweaking necessary to fix poor macro usage. Change-Id: Ie656f9d653fc716f72ac175925272696d509038f
2014-03-20More code that's specific to OpenCL kernel pre-compilation.Kohei Yoshida1-0/+5
Change-Id: I82474c48924aca36d9fde468081fb2457a153ac6
2014-03-20Some cosmetics.Kohei Yoshida1-12/+14
Change-Id: I4825d94c58d8cfb245f110b7f46397c2724436a3
2014-03-12Don't delete the kernel when pre-compiled.Kohei Yoshida1-3/+3
Because we'll be re-using that same kernel instance for subsequent runs. Change-Id: I08b6df65550cecfa48f937b163fb1c5b20ed8ac9
2014-03-10coverity#1130174 Logically dead codeCaolán McNamara1-4/+1
Change-Id: I80b4f3db9d5f0eda1a05aa796633aefd434c38f4
2014-03-07Disable pre-compilation of OpenCL kernels for now.Kohei Yoshida1-0/+4
Change-Id: I1e61fab8ae26c11af05084db1a5542c066f69852
2014-03-06Allow easy toggling of threaded OpenCL kernel compilation.Kohei Yoshida1-5/+5
Via compiler defined macro. Change-Id: Ic20e6564d99e8ae80c15eda5d12b4dbb76ffbd36
2014-03-06Method declared but never defined nor used.Kohei Yoshida1-1/+1
Change-Id: I3990822cfe202b8537a7c9ad58a61c55bc2e3e82
2014-03-06Let's not leak ScTokenArray when compiling formula & some naming convention.Kohei Yoshida2-27/+24
Names that begin with m_ are NOT to be used as local variables, and let's not use a name that's identical to the name of a STL container. Change-Id: I142cc76e9eb34a19a2346cbb67774d60b801a649
2014-03-06This ScTokenArray is stored but not used. Remove it.Kohei Yoshida1-9/+2
Not only that, it attempts to delete a non-cloned copy in the dtor, which would lead to double deletion. Change-Id: I3ce5266e894354a8cac5dffb5f350b942f463159