Skip to content
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

Ufuncs and reductions #318

Open
wants to merge 29 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
4730095
ENH: add numpy-style ufuncs and reductions
Dec 26, 2016
baf0d9b
TST: add tests for ufuncs and reductions
Dec 26, 2016
159133f
TST: add test and fixes for binary ufuncs with scalars
Dec 28, 2016
66d69b9
TEMP: insert debug print into call_compiler to see kernel source
Mar 3, 2017
f03bf65
TST: rewrite tests in yield style
Mar 3, 2017
988adf8
MAINT: various minor fixes
Mar 3, 2017
3579188
ENH: add `all` and `any` reductions
Mar 3, 2017
696751f
BUG: fix ufuncs for bool dtype
Mar 3, 2017
55018f1
BUG: fix power function rounding issue
Apr 16, 2017
1dbe9cd
TST: fix or filter out tests of ufunc corner cases
Apr 17, 2017
be93694
ENH: use preamble for more complex ufuncs
Apr 16, 2017
a39d64a
ENH: add some more ufuncs
Apr 17, 2017
7d6fe84
ENH: implement two-out ufuncs and fix spacing
Apr 18, 2017
994eaeb
BUG: fix NaN comparison in ufuncs
Apr 19, 2017
fa04da3
BUG: fix binary ufunc for non-array second op
Jun 2, 2017
61b75cf
ENH: make ufuncs classes
Jun 5, 2017
d1c5977
TST: add tests for ufunc.reduce
Jun 6, 2017
fccfeea
ENH: use new reductions on ndgpuarray
Jun 5, 2017
fed41eb
MAINT: remove Numpy fallbacks in ufuncs
Jun 11, 2017
0a8c136
ENH: add __array_ufunc__ interface and more ndgpuarray methods
Jun 11, 2017
2c99f57
MAINT: minor fixes
Jun 11, 2017
bc14f52
BUG: fix circular imports
Jun 12, 2017
627a448
BUG: fix qualname of accumulate
Jun 12, 2017
b6a8901
BUG: remove imports from builtin
Jun 12, 2017
48906b7
MAINT: raise TypeError for deprecated boolean ops in numpy >= 1.13
Jun 12, 2017
0bf6043
TST: avoid failing test due to not implemented reduction
Jun 12, 2017
9f0a578
BUG: fix missing precision in deg2rad constant
Jun 12, 2017
dd88c9a
MAINT: add optional context parameter to ufuncs and friends
Jun 12, 2017
efea028
MAINT: remove debug print statement from gpuarray_buffer_cuda.c
Jul 6, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pygpu/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ def get_include():
assert os.path.exists(os.path.join(p, 'gpuarray_api.h'))
return p

from . import gpuarray, elemwise, reduction
from . import gpuarray, elemwise, reduction, ufuncs
from .gpuarray import (init, set_default_context, get_default_context,
array, zeros, empty, asarray, ascontiguousarray,
asfortranarray, register_dtype)
Expand Down
Loading