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: add a Vc SoA implementation for transform3 #97

Merged
merged 1 commit into from
Apr 24, 2024

Conversation

niermann999
Copy link
Contributor

This PR is based on the previous development for an SoA Vc-based algebra plugin and adds the transform3 implementation, including a test and benchmarks. Like the current vc_vc plugin, it uses the vector3 type as column vectors in the 4x4 matrix type that is used by the transform3. Elements that are known to be equal to zero or one are optimized away in the inversion and determinant calculations.

@niermann999 niermann999 changed the title Feat: add a Vc SoA implementation for transform3 feat: add a Vc SoA implementation for transform3 Mar 26, 2023
@niermann999 niermann999 added the enhancement New feature or request label Mar 29, 2023
@niermann999

This comment was marked as outdated.

@beomki-yeo
Copy link
Contributor

And I suggest separating a PR for benchmark

@niermann999
Copy link
Contributor Author

And I suggest separating a PR for benchmark

The benchmarks are already part of #95 which this one is based on

@niermann999 niermann999 force-pushed the feat-vectorized-transf branch 4 times, most recently from d453d00 to 5b0bd48 Compare September 21, 2023 14:01
@niermann999 niermann999 force-pushed the feat-vectorized-transf branch 5 times, most recently from 3aaabb0 to 244bb86 Compare October 9, 2023 10:27
@niermann999 niermann999 force-pushed the feat-vectorized-transf branch 3 times, most recently from 21af1f6 to 940f03d Compare April 12, 2024 13:39
Copy link
Member

@krasznaa krasznaa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No fundamental issues with the code, just some minor technical ones.

The code placement questions I can be argued with. 😉 But the unnecessary template arguments we should really remove.

math/vc_soa/include/algebra/math/vc_soa.hpp Outdated Show resolved Hide resolved
@niermann999 niermann999 force-pushed the feat-vectorized-transf branch 3 times, most recently from e71e259 to bf84c78 Compare April 24, 2024 09:08
…bra plugin

and adds the transform3 implementation, including a test and benchmarks.
Like the current vc_vc plugin, it uses the vector3 type as column vectors in the
4x4 matrix type that is used by the transform3. Elements that are known to be
equal to zero or one are optimized away in the inversion and determinant calculations.
Copy link
Member

@krasznaa krasznaa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, let's go forward with it...

@niermann999 niermann999 merged commit 59d1d88 into acts-project:main Apr 24, 2024
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants