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

Tests/Eigen: make the dimensions changeable at runtime #500

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

thiagomacieira
Copy link
Contributor

All of these tests use Dynamic as their structural size (i.e., not a fixed at compile-time). So do allow changing them with a command-line option: we've had an interest in doing that to measure how the test behaves.

All of these tests use Dynamic as their structural size (i.e., not a
fixed at compile-time). So do allow changing them with a command-line
option: we've had an interest in doing that to measure how the test
behaves.

Signed-off-by: Thiago Macieira <thiago.macieira@intel.com>
{
memcmp_or_fail(actual, expected, Dim * Dim, name);
memcmp_or_fail(actual, expected, rows * cols, name);
Copy link
Contributor

Choose a reason for hiding this comment

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

This should be correlated to the FP size. Otherwise, it's shorter region to compare.

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

Successfully merging this pull request may close these issues.

None yet

2 participants