Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Armadillo as backend #43

Open
AlessandroProverbioFX opened this issue Jan 21, 2022 · 3 comments
Open

Use Armadillo as backend #43

AlessandroProverbioFX opened this issue Jan 21, 2022 · 3 comments

Comments

@AlessandroProverbioFX
Copy link

Hi,

First of all, thank you for this amazing work! I would like to suggest another backend, Armadillo (http://arma.sourceforge.net). I remember from some past work I've done that it was extremely fast, even faster than Eigen.

@jatinchowdhury18
Copy link
Owner

Hi!

Yeah, having an Armadillo backend could be cool... though I would be curious to see some data comparing benchmarks between Armadillo and Eigen. That said, I'm a little bit hesitant to add new backends, since it makes maintenance dev work take a good bit longer.

Anyway, here would be the steps for adding an Armadillo backend:

  • Add Armadillo as a submodule, or add instructions for how the user can install Armadillo on their system
  • Add CMake options and target definitions for the new backend
  • Implement layers and activation functions with the new backend
  • Update tests and benchmarks to include the new backend

I don't really have much time to start working on this at the moment, but if you or someone else would like to get started, I would be happy to support!

@AlessandroProverbioFX
Copy link
Author

Hi,

I have used both of them (Eigen and Armadillo) some years ago in a Wave Digital Filters project, and I remember that the Armadillo implementation was definitely faster. Unfortunately I don't have the code anymore, if I can find it I will make some comparisons.

I understand the complexity of this work!

By the way, I'm going to use RTNeural for the ML part of a new audio plugin!

@jatinchowdhury18
Copy link
Owner

For sure! I might have some time in the next week or two to investigate a little more as well.

Very cool! I'm always excited to see/hear any new plugins with ML :)

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

No branches or pull requests

2 participants