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

feat: loop unrolling and switch to constexpr #149

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

niermann999
Copy link
Contributor

@niermann999 niermann999 commented Mar 11, 2025

Forces the compiler to apply loop unrolling in the Vc plugins, which seems to help performance (the array plugin seems to be optimized that way already). For this, a new macro was added to the qualifiers header to do this per compiler (however, I could not find anything for MSVC so far). I think it is OK to mandate loop unrolling at some loops that seem to make sense, since we don't have large matrices to run

Since constexpr implies inline most functions were switched to constexpr now.

@niermann999 niermann999 added the enhancement New feature or request label Mar 11, 2025
@niermann999 niermann999 force-pushed the feat-loop-unrolling branch 2 times, most recently from c00df79 to 145e1af Compare March 11, 2025 14:02
@niermann999 niermann999 added the performance Improves performance label Mar 11, 2025
@niermann999 niermann999 force-pushed the feat-loop-unrolling branch from 145e1af to f5377ae Compare March 11, 2025 20:08
@niermann999 niermann999 force-pushed the feat-loop-unrolling branch from f5377ae to 0091cf8 Compare March 12, 2025 09:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request performance Improves performance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant