Project comparisons#
Here is a list of NumPy APIs and corresponding cuPyNumeric implementations.
A dot in the cupynumeric column denotes that cuPyNumeric implementation is not provided yet. We welcome contributions for these functions.
NumPy vs cuPyNumeric APIs#
Module-Level#
NumPy |
cupynumeric |
single-GPU/CPU |
multi-GPU/CPU |
---|---|---|---|
|
|||
|
|||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
✓ |
✓ |
||
|
|||
✓ |
✓ |
||
✓ |
✓ |
||
|
❌ |
❌ |
|
|
|||
|
|||
✓ |
✓ |
||
|
|||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
|
|||
|
|||
|
|||
✓ |
✓ |
||
❌ |
❌ |
||
|
|||
|
|||
|
|||
✓ |
✓ |
||
|
|||
|
|||
|
|||
|
|||
✓ |
✓ |
||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
|
|||
|
|||
✓ |
✓ |
Summary
Number of NumPy functions: 164
Number of functions covered by cupynumeric: 24
Ufuncs#
NumPy |
cupynumeric |
single-GPU/CPU |
multi-GPU/CPU |
---|---|---|---|
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
Summary
Number of NumPy functions: 89
Number of functions covered by cupynumeric: 85
Multi-Dimensional Array#
NumPy |
cupynumeric |
single-GPU/CPU |
multi-GPU/CPU |
---|---|---|---|
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
❌ |
❌ |
||
❌ |
❌ |
||
✓ |
✓ |
||
✓ |
✓ |
||
❌ |
❌ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
❌ |
❌ |
||
✓ |
✓ |
||
|
✓ |
✓ |
|
✓ |
✓ |
||
|
|||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
|
|||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
❌ |
❌ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
❌ |
❌ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
Summary
Number of NumPy functions: 53
Number of functions covered by cupynumeric: 47
Linear Algebra#
NumPy |
cupynumeric |
single-GPU/CPU |
multi-GPU/CPU |
---|---|---|---|
Summary
Number of NumPy functions: 1
Number of functions covered by cupynumeric: 0
Discrete Fourier Transform#
NumPy |
cupynumeric |
single-GPU/CPU |
multi-GPU/CPU |
---|---|---|---|
Summary
Number of NumPy functions: 2
Number of functions covered by cupynumeric: 0
Random Sampling#
NumPy |
cupynumeric |
single-GPU/CPU |
multi-GPU/CPU |
---|---|---|---|
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
|
|||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
|
|||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
✓ |
Summary
Number of NumPy functions: 62
Number of functions covered by cupynumeric: 42