Skip to content

fixing _comparison script used for API coverage table#237

Closed
ipdemes wants to merge 1 commit intonv-legate:branch-22.05from
ipdemes:comparison_table_fix
Closed

fixing _comparison script used for API coverage table#237
ipdemes wants to merge 1 commit intonv-legate:branch-22.05from
ipdemes:comparison_table_fix

Conversation

@ipdemes
Copy link
Contributor

@ipdemes ipdemes commented Mar 28, 2022

No description provided.

@ipdemes ipdemes requested a review from magnatelee March 28, 2022 18:51
.. ndarray.sort
.. ndarray.argsort
.. ndarray.partition
.. ndarray.argpartition
Copy link
Contributor

Choose a reason for hiding this comment

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

can you tell me why you had to remove this line? Looks like this line was already commented out, so I'm surprised how this could contribute to what you were seeing.

for f in _get_functions(lg_obj):
obj = getattr(lg_obj, f)
if obj.__doc__ is None or "Unimplemented" not in obj.__doc__:
if obj.__doc__ is not None and ("GPU" in obj.__doc__):
Copy link
Contributor

Choose a reason for hiding this comment

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

You should consider using what this coverage tool is doing for identifying unimplemented operations:
https://github.com/nv-legate/cunumeric/blob/777de2e017808ab7244d8f781662cd1c290cf2c8/cunumeric/coverage.py#L76

Predicates like what you wrote can be very brittle.

@magnatelee magnatelee mentioned this pull request Mar 29, 2022
@ipdemes
Copy link
Contributor Author

ipdemes commented Mar 29, 2022

Closing this PR since #239 fixes the issue

@ipdemes ipdemes closed this Mar 29, 2022
ipdemes pushed a commit to ipdemes/cunumeric that referenced this pull request Jun 7, 2022
* Move FieldID to a separate module to fix the unrodered field destruction

* Fix the typing for Fill
@ipdemes ipdemes deleted the comparison_table_fix branch June 13, 2022 10:49
manopapad pushed a commit that referenced this pull request Nov 17, 2024
Co-authored-by: Mark Vaz <m3vaz@users.noreply.github.com>
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.

3 participants