-
Notifications
You must be signed in to change notification settings - Fork 4
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
283 provide the implementation of the masked outer product #301
base: develop
Are you sure you want to change the base?
283 provide the implementation of the masked outer product #301
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice implementation, the openMP implementation is pretty quick and easy.
Good job 👍
Also, it would be nice to have a (maybe separate) unit test with a user-provided size of the matrix instead of a single predefined one.
By the way, why do you call the function |
…ked-outer-product
I also realised that you were only checking against the structure of the mask (coordinates), but never its values (which is tricky when allowing void & non-void) |
Yes, I was actually implementing the structural mask. @byjtew, if the structural descriptor isn't set, is it intended that values evaluate to true iff |
Not that simple, you should use |
…uct' of https://github.com/Algebraic-Programming/ALP into 283-provide-the-implementation-of-the-masked-outer-product
The descriptors should now be properly handled. |
Feel free to mark the MR as "ready" if the tests pass. |
Ok, but now I'm wondering if the structural_complement descriptor should be supported at all. I guess that the similar case could be made for forbidding it as in #242 |
…ked-outer-product
Running the test in the internal GitLab FAILING TESTS for all backends
|
I would agree-- structurally inverting any sparse matrix seems never a good idea |
There was a bug in the way the test status was reported. It should be fine now, but I don't have access to the internal GitLab to check it. Thanks to @aristeidis-mastoras for helping with the debug. |
Closes #283
Depends on #317