Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
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
Prev Previous commit
address reviewer comments
  • Loading branch information
guilhermeleobas committed Apr 8, 2024
commit fdc423fa210317092c5db1233bc3b237f9f84ef8
3 changes: 3 additions & 0 deletions docs/source/cuda/cudapysupported.rst
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,9 @@ Supported NumPy features:
* :func:`numpy.less_equal`
* :func:`numpy.not_equal`
* :func:`numpy.equal`
* :func:`numpy.log`
* :func:`numpy.log2`
* :func:`numpy.log10`
* :func:`numpy.logical_and`
* :func:`numpy.logical_or`
* :func:`numpy.logical_xor`
Expand Down
4 changes: 2 additions & 2 deletions numba/cuda/cudadecl.py
Original file line number Diff line number Diff line change
Expand Up @@ -801,6 +801,6 @@ def resolve_local(self, mod):
for func in bit_twiddling_functions:
register_numpy_ufunc(func, register_global)

for func in ('log', 'log2', 'log10'):
if func in math_operations:
for func in math_operations:
if func in ('log', 'log2', 'log10'):
register_numpy_ufunc(func, register_global)