Cytnx icon indicating copy to clipboard operation
Cytnx copied to clipboard

Add Scalar backend

Open jeffry1829 opened this issue 2 years ago • 2 comments

Not fully tested, at least compile passed.

It's important to review SProxy, since we're not using straightforward way to write into memory. Instead, we first convert memory to at::Tensor, then use tn[loc] = elem;

jeffry1829 avatar Oct 14 '23 17:10 jeffry1829

Codecov Report

Merging #306 (230a6b8) into dev-master (dd0fdbb) will increase coverage by 3.61%. Report is 38 commits behind head on dev-master. The diff coverage is n/a.

@@              Coverage Diff               @@
##           dev-master     #306      +/-   ##
==============================================
+ Coverage       13.75%   17.37%   +3.61%     
==============================================
  Files             282      274       -8     
  Lines           55158    57728    +2570     
  Branches        24712    26747    +2035     
==============================================
+ Hits             7588    10030    +2442     
+ Misses          41574    39143    -2431     
- Partials         5996     8555    +2559     

see 70 files with indirect coverage changes

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

codecov[bot] avatar Oct 14 '23 17:10 codecov[bot]

This need to be careful to not mess-up the gradient part.

kaihsin avatar Oct 15 '23 14:10 kaihsin