Skip to content
New issue

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

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

Already on GitHub? # to your account

Arithmetic backends #34

Merged
merged 15 commits into from
Feb 4, 2024
Merged

Arithmetic backends #34

merged 15 commits into from
Feb 4, 2024

Conversation

foolnotion
Copy link
Member

@foolnotion foolnotion commented Feb 3, 2024

This PR is an important change to the tree evaluation mechanism in Operon, which allows different libraries to be used instead of Eigen.

This brings:

  • more flexibility, as potentially more backends/number formats can be more easily supported in the future
  • a better API, based on mdspan, which simplifies things in the dispatch table/interpreter
  • new arithmetic backends:

Selection between the backends is done at compile time via the -DMATH_BACKEND option.
Valid values are: Eigen, Fastor, Eve, Vdt, Fast_v1, Fast_v2, Fast_v3 (where v1, v2, v3 refers to the precision of the approximation, from least- to most precise)

@foolnotion foolnotion merged commit a20685b into main Feb 4, 2024
1 check passed
@foolnotion foolnotion deleted the math-backends branch February 4, 2024 11:17
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant