Skip to content

Fallback to plain CPU implementation - #595

Merged
voodoo11 merged 7 commits into
developfrom
cpu-kernel
Jan 27, 2021
Merged

voodoo11 merged 7 commits into
developfrom
cpu-kernel

Conversation

@voodoo11

Copy link
Copy Markdown
Contributor

Context

Added ability to fallback to simple CPU implementation of matrix functions.
Config switches gpuMode to fallback if GPU.js is not available.

How has this been tested?

Tests for matrix functions are

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature or improvement (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Additional language file or change to the existing one (translations)

Related issue(s):

  1. Does not work with Internet Explorer #355
  2. It's not possible to run tests in the Internet Explorer 11 on Windows 10 #330

Checklist:

  • My code follows the code style of this project,
  • My change requires a change to the documentation,
  • I described the modification in the CHANGELOG.md file.

@voodoo11 voodoo11 changed the title CPU kernel Fallback to plain CPU implementation Jan 23, 2021
@codecov

codecov Bot commented Jan 23, 2021 •

Copy link
Copy Markdown

Codecov Report

Merging #595 (6bbf975) into develop (6870a3a) will increase coverage by 0.21%.
The diff coverage is 94.97%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #595      +/-   ##
===========================================
+ Coverage    92.47%   92.69%   +0.21%     
===========================================
  Files          162      162              
  Lines        37816    37830      +14     
  Branches      5239     5256      +17     
===========================================
+ Hits         34972    35067      +95     
+ Misses        2810     2757      -53     
+ Partials        34        6      -28     
Impacted Files Coverage Δ
src/interpreter/Interpreter.ts 48.52% <75.00%> (+0.48%) ⬆️
src/Config.ts 96.30% <81.81%> (-0.27%) ⬇️
src/interpreter/plugin/MatrixPlugin.ts 95.85% <96.29%> (+38.34%) ⬆️
src/interpreter/plugin/FunctionPlugin.ts 84.26% <100.00%> (+0.83%) ⬆️
src/interpreter/ArithmeticHelper.ts 87.98% <0.00%> (-0.76%) ⬇️
src/Cell.ts 95.97% <0.00%> (ø)
src/Operations.ts 91.26% <0.00%> (ø)
src/DateTimeDefault.ts 57.23% <0.00%> (ø)
src/AbsoluteCellRange.ts 86.93% <0.00%> (ø)
src/Lookup/AdvancedFind.ts 92.00% <0.00%> (ø)
... and 11 more

Comment thread src/Config.ts Resolved

@wojciechczerniak wojciechczerniak left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants