abdul124
  • Joined on 2024-06-03
abdul124 commented on pull request M-Labs/artiq-zynq#309 2024-07-31 12:17:13 +08:00
kernel: add linalg functions

Re-implemented np_transpose and np_reshape using LLVM IR in core. Will move np_dot as well and remove these from firmware.

abdul124 commented on pull request M-Labs/artiq-zynq#309 2024-07-31 12:15:53 +08:00
kernel: add linalg functions

Adding safety headers over unsafe functions is required when using stable rust. Should I still remove those?

abdul124 commented on pull request M-Labs/artiq-zynq#309 2024-07-31 12:15:05 +08:00
kernel: add linalg functions

Will update ARTIQ first then and add these in an additional PR.

abdul124 pushed to support_nalgebra at abdul124/nac3 2024-07-31 01:54:48 +08:00
c71a567a51 Reshape Completed
abdul124 pushed to support_nalgebra at abdul124/nac3 2024-07-30 18:20:21 +08:00
260a2fbb63 cast calc size output
abdul124 pushed to support_nalgebra at abdul124/nac3 2024-07-30 18:10:53 +08:00
9e7cf4fcac np_reshape(WIP) and np_transpose added
688e85d13c core/helper: add linalg section
c6bac576d4 standalone: link linalg at runtime
9cdfaf96fd standalone: move linalg functions to demo
794138156d core/builtin_fns: improve error reporting
Compare 28 commits »
abdul124 pushed to add_linalg_functions at abdul124/artiq-zynq 2024-07-29 18:34:32 +08:00
0664f3336b kernel: add np_transpose function
abdul124 pushed to support_nalgebra at M-Labs/nac3 2024-07-29 18:29:23 +08:00
08a5b74ae6 standalone: add np_transpose function
5b6eb31256 core: add np_transpose function
Compare 2 commits »
abdul124 commented on pull request M-Labs/nac3#478 2024-07-29 17:39:13 +08:00
add nalgebra::linalg methods

Moved linalg functions under nac3standalone/demo and updated the comments and errors.

abdul124 commented on pull request M-Labs/nac3#478 2024-07-29 17:39:06 +08:00
add nalgebra::linalg methods

Since we are testing on i386 as well, had to build an alternative static lib for the new target for linking.

abdul124 pushed to support_nalgebra at M-Labs/nac3 2024-07-29 17:34:51 +08:00
688e85d13c core/helper: add linalg section
c6bac576d4 standalone: link linalg at runtime
9cdfaf96fd standalone: move linalg functions to demo
794138156d core/builtin_fns: improve error reporting
3980b8d353 standalone: link externfns at runtime
Compare 27 commits »
abdul124 created pull request M-Labs/artiq-zynq#309 2024-07-29 17:33:48 +08:00
kernel: add linalg functions
abdul124 pushed to issue-133 at abdul124/nac3 2024-07-28 23:54:21 +08:00
ab916df19e Calling class methods statically implemented
abdul124 pushed to support_nalgebra at abdul124/nac3 2024-07-26 17:38:56 +08:00
65b9b62a6b standalone: move linalg functions to demo
ac1ea5a624 core/builtin_fns: improve error reporting
33132c45fd standalone: link externfns at runtime
5c38175524 standalone: add runtime implementation for linalg functions
e88495ea52 standalone: add linalg methods and tests
Compare 6 commits »
abdul124 pushed to add_linalg_functions at abdul124/artiq-zynq 2024-07-26 14:48:42 +08:00
9788be1294 kernel: add linalg functions
abdul124 created branch add_linalg_functions in abdul124/artiq-zynq 2024-07-26 14:48:41 +08:00
abdul124 created repository abdul124/artiq-zynq 2024-07-26 10:12:40 +08:00
abdul124 commented on pull request M-Labs/nac3#478 2024-07-25 22:14:36 +08:00
add nalgebra::linalg methods

And can it be moved to demo?

Yes, will move it

Does it need to be at the top level cargo workspace?

If its removed from top level cargo workspace and introduced in some other workspace…

abdul124 commented on pull request M-Labs/nac3#478 2024-07-25 22:08:26 +08:00
add nalgebra::linalg methods

Since we can't really link a static library with lli it won't be able to run the new functions and the tests will fail. Generating DSO and linking using that should work though.

abdul124 commented on pull request M-Labs/nac3#478 2024-07-25 22:08:06 +08:00
add nalgebra::linalg methods

Doing cargo build in standalone directory builds linalg_externfns as a dependency and adds a hash (I think its a hash) with its name.