Skip to content

Updates to api_compare.py#456

Merged
bryevdv merged 1 commit intonv-legate:branch-22.07from
bryevdv:bryanv/update_api_compare
Jul 18, 2022
Merged

Updates to api_compare.py#456
bryevdv merged 1 commit intonv-legate:branch-22.07from
bryevdv:bryanv/update_api_compare

Conversation

@bryevdv
Copy link
Contributor

@bryevdv bryevdv commented Jul 15, 2022

This PR has minor updates/fixes for api_compare.py:

  • Numpy 1.23 removed deprecated np.asscalar entirely
  • Sphinx ext support code moved to private module

With these changes the script is functional again:

gas38 ❯ legate scripts/api_compare.py 
group,numpy,cunumeric,cupy
Convolve and Correlate,2,1,2
Ufuncs,91,87,86
Logical operations,14,12,11
Einsum and related,6,6,6
Discrete Fourier transform,18,14,18
Set operations,7,1,3
Array manipulation,48,25,41
Array manipulation (ndarray),1,1,1
Factorizations,2,1,2
SVD and related,4,0,4
Eigenvalues,4,0,2
LU factorization and related,6,0,6
Input and output,20,0,17
Input and output (ndarray),2,2,2
Array creation,29,17,25
Array creation (ndarray),1,1,1
Mathematical functions,30,7,27
"Searching, sorting, and counting",18,12,18
Advanced statistics,22,2,19
Miscellaneous matrix routines,1,0,1
Packing and unpacking bits,2,2,2
Indexing,23,7,16
Padding arrays,1,0,1
Random sampling,51,5,49
Functional programming,4,0,2

@bryevdv bryevdv requested a review from ipdemes July 15, 2022 22:42
Copy link
Contributor

@ipdemes ipdemes left a comment

Choose a reason for hiding this comment

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

thank you for the fix!

@bryevdv bryevdv merged commit 7e38623 into nv-legate:branch-22.07 Jul 18, 2022
@bryevdv bryevdv deleted the bryanv/update_api_compare branch July 18, 2022 20:34
jjwilke pushed a commit to jjwilke/cunumeric that referenced this pull request Jul 29, 2022
jjwilke pushed a commit to jjwilke/cunumeric that referenced this pull request Jul 29, 2022
manopapad pushed a commit that referenced this pull request Nov 17, 2024
XiaLuNV added a commit to XiaLuNV/cunumeric that referenced this pull request Dec 13, 2024
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.

2 participants