Re-implemented np_transpose
and np_reshape
using LLVM IR in core. Will move np_dot
as well and remove these from firmware.
Adding safety headers over unsafe functions is required when using stable rust. Should I still remove those?
Moved linalg
functions under nac3standalone/demo
and updated the comments and errors.
Since we are testing on i386 as well, had to build an alternative static lib for the new target for linking.
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…
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.
Doing cargo build
in standalone directory builds linalg_externfns
as a dependency and adds a hash (I think its a hash) with its name.