Open BjornTheProgrammer opened 2 months ago
Burn project's Ndarray backend would very much appreciate if this PR is merged. We have a long outstanding issue: https://github.com/tracel-ai/burn/issues/302
@bluss, do you have any more concerns about this pull request? If so, I would love to see if I can address them!
Changes
Add the crates
portable-atomic
andportable-atomic-util
to make the Arc used in the code compatible with thethumbv6m-none-eabi
target. Also note that this change will probably makendarray
work on more targets than just thethumbv6m-none-eabi
target.Considerations
Those two crates are imported from a GitHub revision. It might be best to wait for an official release to crates.io, but I'm not sure if that's important.
This has also been tested and confirmed to work on a Raspberry Pi Pico.