• Luboš Luňák's avatar
    try to detect that a formula does not contain any implicit intersection · 1bf7bc6f
    Luboš Luňák yazdı
    Commit 67444cbe disabled svDoubleRef completely for OpenCL, which means
    many formulas weren't handled by OpenCL even if the implicit intersection
    problems are quite rare. This patch tries to detect formulas implicit
    intersections in formulas and if it's certain that a formula does not
    contain one, then it's ok to use OpenCL with svDoubleRef.
    
    The detection is done by having ScCompiler analyze each opcode call
    and its parameters, which should provide sufficient information to know
    if implicit intersection can take place or not. The extra compilation
    can be avoided by using OpenCL's compilation and doing the svDoubleRef
    conversion later on the RPN code, to be done later.
    
    This is opt-in, so if unsure don't do anything, if it turns out that some
    opcode needs special handling, it can be simply added.
    
    Change-Id: Iaa52fa7eb8b14dc8c2b92384a21e2ab8efe0ddd7
    Reviewed-on: https://gerrit.libreoffice.org/57959
    Tested-by: Jenkins
    Reviewed-by: 's avatarLuboš Luňák <l.lunak@collabora.com>
    1bf7bc6f
Adı
Son kayıt (commit)
Son güncelleme
..
ExternalReferenceHelper.hxx Loading commit data...
FormulaCompiler.hxx Loading commit data...
FormulaOpCodeMapperObj.hxx Loading commit data...
IControlReferenceHandler.hxx Loading commit data...
IFunctionDescription.hxx Loading commit data...
compiler.hxx Loading commit data...
errorcodes.hxx Loading commit data...
formdata.hxx Loading commit data...
formula.hxx Loading commit data...
formuladllapi.h Loading commit data...
formulahelper.hxx Loading commit data...
funcutl.hxx Loading commit data...
funcvarargs.h Loading commit data...
grammar.hxx Loading commit data...
opcode.hxx Loading commit data...
paramclass.hxx Loading commit data...
token.hxx Loading commit data...
tokenarray.hxx Loading commit data...
types.hxx Loading commit data...
vectortoken.hxx Loading commit data...