283 provide the implementation of the masked outer product#301
283 provide the implementation of the masked outer product#301aleksamilisavljevic wants to merge 45 commits intodevelopfrom
Conversation
byjtew
left a comment
There was a problem hiding this comment.
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. |
|
This actually seems ready, so I provisionally slot it for v0.8 |
Closes #283
Depends on #317