Skip to content
This repository was archived by the owner on Jan 25, 2023. It is now read-only.

Update master with upstream #1

Merged
merged 150 commits into from
Aug 5, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
150 commits
Select commit Hold shift + click to select a range
7cbb9c0
Initialize process lock lazily to prevent multiprocessing issue
belltailjp May 18, 2020
947af3d
Flake8
belltailjp May 20, 2020
726786b
fix
niteya-shah May 27, 2020
2277244
changes as requested
niteya-shah May 28, 2020
7d84b3a
Merge branch 'fix-for-3789' of https://github.com/niteya-shah/numba i…
niteya-shah May 28, 2020
e9cbf13
fix rebase mistake
niteya-shah May 28, 2020
707bbce
CUDA: Add function to get SASS for kernels
gmarkall Jun 8, 2020
83e9754
Fix #5836: Passing opt=0 to NVVM doesn't work
gmarkall Jun 10, 2020
bfd1b71
Fix #5835: CUDA debug info is invalid
gmarkall Jun 10, 2020
99e3950
CUDA: Add opt flag to @cuda.jit
gmarkall Jun 10, 2020
88a4b3a
Add test for Issue #5835
gmarkall Jun 10, 2020
d7721cb
Add parfor support for inplace_binop on arrays.
DrTodd13 Jun 11, 2020
d723836
Add assignment after inplace_binop parfor to assign target of inplace…
DrTodd13 Jun 11, 2020
211be86
Add test of support for inplace_binop parfor conversion.
DrTodd13 Jun 11, 2020
d17e25f
Remove accidentally left-in opt kwarg
gmarkall Jun 12, 2020
7cd32fc
One more parfor should be created for logistic regression for the inp…
DrTodd13 Jun 12, 2020
d8a272e
Move the conversion of inplace binops after the prange pass so that r…
DrTodd13 Jun 12, 2020
831d5bf
Reduce overhead in objmode function
sklam Jun 24, 2020
2a6ac69
Keep a memo to reuse unpickled object from compiled-code
sklam Jun 24, 2020
ce0b127
Fix SVML tests with LLVM 10 and AVX512
PokhodenkoSA Jul 3, 2020
72b6784
Deprecate target kwarg for numba.jit.
hameerabbasi Jul 13, 2020
ac03caf
Merge branch 'master' into fix/iss5828_objmode_overhead
sklam Jul 16, 2020
ec30d9c
Fix segfault due to corrupted typeobject in numba_do_raise
sklam Jul 16, 2020
741e1cc
Update numba/tests/test_parfors.py
DrTodd13 Jul 20, 2020
1630eaa
Fixing up numba_do_raise
sklam Jul 21, 2020
4639799
Merge remote-tracking branch 'numba/master' into grm-inspect-sass-v2
gmarkall Jul 21, 2020
69b300f
Revert "Fix segfault due to corrupted typeobject in numba_do_raise"
sklam Jul 21, 2020
8b3f34d
Simplify do_raise logic
sklam Jul 21, 2020
ca9dfba
Hash pickled buffer to help deduplicate
sklam Jul 22, 2020
96d35e1
Fix pycc for changed pickle info
sklam Jul 22, 2020
7ce939c
Cleanup
sklam Jul 22, 2020
2ba2eb4
Make template show better name for debugging
sklam Jul 23, 2020
37747b0
Ensure the cache is not populated if the compilation will fail
sklam Jul 23, 2020
17365a5
Fix #6023
kozlov-alexey Jul 24, 2020
34fd3df
CUDA: Don't optimize IR before sending it to NVVM
gmarkall Jul 23, 2020
b5c6f15
setup.py: add option to disable tbb at compile time
epsilon-0 Jun 5, 2020
55a9bd2
added documentation for NUMBA_NO_TBB and NUMBA_NO_OPENMP
epsilon-0 Jun 16, 2020
6ef2fd7
Apply suggestions from code review
epsilon-0 Jun 23, 2020
90cfbc1
Added intel documentation link
epsilon-0 Jun 23, 2020
0ee6175
Respond to PR feedback
stuartarchibald Jul 24, 2020
ddfeb7b
Fix missing kws
sklam Jul 24, 2020
3f3c1db
Fix missing guard for StringLiteral in assert_equiv
sklam Jul 24, 2020
256231e
Prefer non-literal
sklam Jul 24, 2020
285f84f
Fix __unliteral__ for StarArgTuple
sklam Jul 24, 2020
66fb4a4
Tests to check multiprocessing context isn't set by import
stuartarchibald Jul 24, 2020
8c6f918
Re-word deprecation message and add deprecation to docs.
hameerabbasi Jul 27, 2020
1d26cf9
Respond to PR #6030 feedback
gmarkall Jul 27, 2020
e9f96e6
Fix argsort
sklam Jul 27, 2020
c14e5f4
Add `prefer_literal` for template that needs it
sklam Jul 27, 2020
65f107c
__unliteral__ should not change tuple type
sklam Jul 27, 2020
aab789a
Revert "__unliteral__ should not change tuple type"
sklam Jul 28, 2020
f03ecfb
Specialize Unituple.__unliteral__
sklam Jul 28, 2020
f39ccce
Use arg_aliases as well as alias_map to determine if statements can b…
DrTodd13 Jul 28, 2020
08de21a
Fix literal_unroll to raise on non-literal input
sklam Jul 28, 2020
0077782
Fix template __str__/__repr__ to not cause self-recursion
sklam Jul 28, 2020
91a906c
Fix numba.tests.test_lists.TestLiteralLists.test_contains
sklam Jul 28, 2020
4c86201
Fix TestLiteralStrKeyDict
sklam Jul 28, 2020
0596e3c
Merge remote-tracking branch 'numba/master' into grm-disable-o1-for-nvvm
gmarkall Jul 29, 2020
e3719bc
Fix test_const_array_3d for CUDA 9.0
gmarkall Jul 29, 2020
89e2a4c
Remove xfail from test_const_record_align_optimization
gmarkall Jul 29, 2020
019ee7b
Fix test_const_array_3d for CUDA 8
gmarkall Jul 29, 2020
e1fd664
Fix test_const_array_3d for CUDA 9.1
gmarkall Jul 29, 2020
f1e1943
Fix test_const_record_align_optimization for 10.2
gmarkall Jul 29, 2020
6bcc0a8
Merge remote-tracking branch 'numba/master' into grm-inspect-sass-v2
gmarkall Jul 29, 2020
2eae393
Fix disassemble_cubin on Python 3.6
gmarkall Jul 29, 2020
e561f62
Attempt to fix test_const_record_optimization
gmarkall Jul 29, 2020
8f281a4
Merge branch 'master' into grm-inspect-sass-v2
gmarkall Jul 29, 2020
8d38cd5
Merge remote-tracking branch 'numba/master' into grm-debug-fixes
gmarkall Jul 29, 2020
f44b24a
Clean up
sklam Jul 29, 2020
4ea838b
Add docstrings to prefer_literal
sklam Jul 29, 2020
b99ca56
Add support for CUDA stream callbacks and asyncio awaitable streams
pwuertz Jul 30, 2020
76fc464
Attempt to fix test_const_record_optimization on Windows / CUDA 10
gmarkall Jul 30, 2020
fa16f25
Document inspect_sass
gmarkall Jul 30, 2020
48e2087
Fix dtype for atomic_add_double tests
gmarkall Jul 30, 2020
07415eb
Add code comments
sklam Jul 30, 2020
df78f66
Merge pull request #5745 from pwuertz/cuda_stream_callback
sklam Jul 30, 2020
a9155a9
Merge pull request #5761 from niteya-shah/fix-for-3789
sklam Jul 30, 2020
54fbed9
Merge pull request #5826 from gmarkall/grm-inspect-sass-v2
sklam Jul 30, 2020
e686e52
Merge pull request #5846 from gmarkall/grm-debug-fixes
sklam Jul 30, 2020
1c77b13
Merge pull request #5856 from IntelLabs/parfor_inplace_binop
sklam Jul 30, 2020
fa1d922
Merge pull request #6030 from gmarkall/grm-disable-o1-for-nvvm
sklam Jul 30, 2020
6c01e9a
Merge pull request #6052 from gmarkall/grm-fix-atomic-tests-dtypes
sklam Jul 30, 2020
94fceaa
Adding proper docstring
kozlov-alexey Jul 30, 2020
bf81fbd
Flake8
belltailjp Jul 31, 2020
8427972
Fix #6053 issue on invalid inlining of non-empty build_list by inline…
sklam Jul 31, 2020
45fee0e
fix aarch64/python_3.8 failure on master
esc Jul 31, 2020
228cff5
Add prefer_literal to overload
sklam Jul 31, 2020
d875e12
Add prefer_literal to overload_method.
sklam Jul 31, 2020
e811f41
Add prefer_literal to numpy sum method
sklam Jul 31, 2020
49551fd
Fix dispatch in BoundFunction
sklam Jul 31, 2020
7d1d0ea
Update numba/tests/test_stencils.py
esc Jul 31, 2020
5e832e9
Merge pull request #6057 from esc/fix/aarch64_py38
sklam Jul 31, 2020
ce02012
Merge pull request #5980 from hameerabbasi/target-kwarg
sklam Jul 31, 2020
ebbae83
Update docs
sklam Jul 31, 2020
17e72af
Add test to check _numba_unpickle is memorizing
sklam Jul 31, 2020
02deac5
Change references to numba.pydata.org to https
Aug 2, 2020
19ce816
Apply suggestions from code review
stuartarchibald Aug 3, 2020
a02bdea
Respond to review.
stuartarchibald Aug 3, 2020
6a3aa2f
Minor typo fix.
stuartarchibald Aug 3, 2020
2f8c737
Apply suggestions from code review
stuartarchibald Aug 3, 2020
d2ae805
noqa long line
Aug 3, 2020
b118abb
Apply suggestions from code review
sklam Aug 3, 2020
8acb58d
Update error message
sklam Aug 3, 2020
4d7b707
Merge pull request #6062 from mroeschke/fix/https
stuartarchibald Aug 3, 2020
bf18b3b
Merge pull request #6056 from sklam/fix/iss6053
stuartarchibald Aug 3, 2020
0574148
Merge pull request #6046 from IntelLabs/issue5942
stuartarchibald Aug 3, 2020
287daa9
Merge pull request #6035 from sklam/fix/overspecialize
stuartarchibald Aug 3, 2020
395db46
Merge pull request #6031 from stuartarchibald/pr_5821_continued_tmp
stuartarchibald Aug 3, 2020
8563d05
Merge pull request #6028 from kozlov-alexey/bugfix/6023_tuple_getitem…
stuartarchibald Aug 3, 2020
2e5169a
Merge pull request #6017 from sklam/refactor/do_raise
stuartarchibald Aug 3, 2020
6bb2930
Merge pull request #5724 from belltailjp/lazy-initialize-process-lock
stuartarchibald Aug 3, 2020
9b8bbc0
Merge branch 'master' into fix/overspecialize_option
sklam Aug 3, 2020
6ffb1da
Merge branch 'master' into fix/iss5828_objmode_overhead
sklam Aug 3, 2020
d63dede
Add __unliteral__ to despecialize containers with initial_value
sklam Aug 3, 2020
235df5e
try this
stuartarchibald Aug 4, 2020
585f609
Try this
stuartarchibald Aug 4, 2020
be63016
Add test for literally, list and append
stuartarchibald Aug 4, 2020
73ce1a9
Add test for literally, dict and insert
stuartarchibald Aug 4, 2020
0496072
unliteral for static get item assert
stuartarchibald Aug 4, 2020
15930f0
Remove f-strings in setup.py
stuartarchibald Aug 4, 2020
965a19b
Fix bugs!
stuartarchibald Aug 4, 2020
18462a7
Fixes invalid C prototype in helper function.
stuartarchibald Aug 4, 2020
d328ac5
Remove dead comments
sklam Aug 4, 2020
7d9286f
Make prefer_literal has default value
sklam Aug 4, 2020
6a4fe0f
Make prefer_literal has default value
sklam Aug 4, 2020
89a3840
Add docstring on prefer_literal
sklam Aug 4, 2020
efaa1a7
Replace unliteral with _unlit_non_poison
sklam Aug 4, 2020
50d3df6
Update numba/core/extending.py
sklam Aug 4, 2020
dc16d2c
Fix for #6005
stuartarchibald Jul 21, 2020
d3527ad
Update numba/core/typing/templates.py
stuartarchibald Aug 4, 2020
8b40f73
Merge pull request #5922 from sklam/fix/iss5828_objmode_overhead
sklam Aug 4, 2020
bed4d04
Merge pull request #6058 from sklam/fix/overspecialize_option
sklam Aug 4, 2020
64923dd
Merge pull request #6070 from stuartarchibald/wip/fix_overspecialized…
sklam Aug 4, 2020
c64d69a
Merge pull request #6071 from stuartarchibald/fix/5854
sklam Aug 4, 2020
04eabf6
Merge pull request #6072 from stuartarchibald/fix/6005
sklam Aug 4, 2020
4aceb27
Merge pull request #6073 from stuartarchibald/fix/invalid_prototype_1
sklam Aug 4, 2020
f7908cc
Duplicate NumPy's PyArray_DescrCheck macro
stuartarchibald Aug 5, 2020
7fcd8fa
CUDA: Prevent auto-upgrade of atomic intrinsics
gmarkall Aug 5, 2020
3578228
Fix issue with cross drive use and relpath.
stuartarchibald Aug 5, 2020
eff0bad
Use more primive drive letter check.
stuartarchibald Aug 5, 2020
c36a7b4
Fix copy paste error.
stuartarchibald Aug 5, 2020
bd3008a
Fix bug in initial value unify.
stuartarchibald Aug 5, 2020
2d49e4d
Add note about macro version
stuartarchibald Aug 5, 2020
f49d415
Update CHANGE_LOG for 0.51.0
stuartarchibald Aug 5, 2020
9444ddb
Merge pull request #5962 from PokhodenkoSA/fix/llvm-prefer-256-bit-fo…
sklam Aug 5, 2020
a1ed6b7
Merge pull request #6078 from stuartarchibald/fix/6041
sklam Aug 5, 2020
ff51b75
Merge pull request #6080 from gmarkall/grm-fix-atomics
sklam Aug 5, 2020
5e9d723
Merge pull request #6081 from stuartarchibald/fix/relpath
sklam Aug 5, 2020
aac6565
Merge pull request #6083 from stuartarchibald/fix/6082
sklam Aug 5, 2020
833c590
Merge pull request #6084 from stuartarchibald/wip/change_log_051
sklam Aug 5, 2020
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
241 changes: 238 additions & 3 deletions CHANGE_LOG
Original file line number Diff line number Diff line change
@@ -1,7 +1,242 @@
Version 0.51.0
--------------
Version 0.51.0 (August 12, 2020)
--------------------------------

This release continues to add new features to Numba and also contains a
significant number of bug fixes and stability improvements.

Highlights of core feature changes include:

* The compilation chain is now based on LLVM 10 (Valentin Haenel).
* Numba has internally switched to prefer non-literal types over literal ones so
as to reduce function over-specialisation, this with view of speeding up
compile times (Siu Kwan Lam).
* On the CUDA target: Support for CUDA Toolkit 11, Ampere, and Compute
Capability 8.0; Printing of ``SASS`` code for kernels; Callbacks to Python
functions can be inserted into CUDA streams, and streams are async awaitable;
Atomic ``nanmin`` and ``nanmax`` functions are added; Fixes for various
miscompilations and segfaults. (mostly Graham Markall; call backs on
streams by Peter Würtz).

Intel also kindly sponsored research and development that lead to some exciting
new features:

* Support for heterogeneous immutable lists and heterogeneous immutable string
key dictionaries. Also optional initial/construction value capturing for all
lists and dictionaries containing literal values (Stuart Archibald).
* A new pass-by-reference mutable structure extension type ``StructRef`` (Siu
Kwan Lam).
* Object mode blocks are now cacheable, with the side effect of numerous bug
fixes and performance improvements in caching. This also permits caching of
functions defined in closures (Siu Kwan Lam).

Deprecations to note:

To align with other targets, the ``argtypes`` and ``restypes`` kwargs to
``@cuda.jit`` are now deprecated, the ``bind`` kwarg is also deprecated.
Further the ``target`` kwarg to the ``numba.jit`` decorator family is
deprecated.

General Enhancements:

* PR #5463: Add str(int) impl
* PR #5526: Impl. np.asarray(literal)
* PR #5619: Add support for multi-output ufuncs
* PR #5711: Division with timedelta input
* PR #5763: Support minlength argument to np.bincount
* PR #5779: Return zero array from np.dot when the arguments are empty.
* PR #5796: Add implementation for np.positive
* PR #5849: Setitem for records when index is StringLiteral, including literal
unroll
* PR #5856: Add support for conversion of inplace_binop to parfor.
* PR #5893: Allocate 1D iteration space one at a time for more even
distribution.
* PR #5922: Reduce objmode and unpickling overhead
* PR #5944: re-enable OpenMP in wheels
* PR #5946: Implement literal dictionaries and lists.
* PR #5956: Update numba_sysinfo.py
* PR #5978: Add structref as a mutable struct that is pass-by-ref
* PR #5980: Deprecate target kwarg for numba.jit.
* PR #6058: Add prefer_literal option to overload API

Fixes:

* PR #5674: Fix #3955. Allow `with objmode` to be cached
* PR #5724: Initialize process lock lazily to prevent multiprocessing issue
* PR #5783: Make np.divide and np.remainder code more similar
* PR #5808: Fix 5665 Block jit(nopython=True, forceobj=True) and suppress
njit(forceobj=True)
* PR #5834: Fix the is operator on Ellipsis
* PR #5838: Ensure ``Dispatcher.__eq__`` always returns a bool
* PR #5841: cleanup: Use PythonAPI.bool_from_bool in more places
* PR #5862: Do not leak loop iteration variables into the numba.np.npyimpl
namespace
* PR #5869: Update repomap
* PR #5879: Fix erroneous input mutation in linalg routines
* PR #5882: Type check function in jit decorator
* PR #5925: Use np.inf and -np.inf for max and min float values respectively.
* PR #5935: Fix default arguments with multiprocessing
* PR #5952: Fix "Internal error ... local variable 'errstr' referenced before
assignment during BoundFunction(...)"
* PR #5962: Fix SVML tests with LLVM 10 and AVX512
* PR #5972: fix flake8 for numba/runtests.py
* PR #5995: Update setup.py with new llvmlite versions
* PR #5996: Set lower bound for llvmlite to 0.33
* PR #6004: Fix problem in branch pruning with LiteralStrKeyDict
* PR #6017: Fixing up numba_do_raise
* PR #6028: Fix #6023
* PR #6031: Continue 5821
* PR #6035: Fix overspecialize of literal
* PR #6046: Fixes statement reordering bug in maximize fusion step.
* PR #6056: Fix issue on invalid inlining of non-empty build_list by
inline_arraycall
* PR #6057: fix aarch64/python_3.8 failure on master
* PR #6070: Fix overspecialized containers
* PR #6071: Remove f-strings in setup.py
* PR #6072: Fix for #6005
* PR #6073: Fixes invalid C prototype in helper function.
* PR #6078: Duplicate NumPy's PyArray_DescrCheck macro
* PR #6081: Fix issue with cross drive use and relpath.
* PR #6083: Fix bug in initial value unify.

CUDA Enhancements/Fixes:

* PR #5359: Remove special-casing of 0d arrays
* PR #5709: CUDA: Refactoring of cuda.jit and kernel / dispatcher abstractions
* PR #5732: CUDA Docs: document ``forall`` method of kernels
* PR #5745: CUDA stream callbacks and async awaitable streams
* PR #5761: Add implmentation for int types for isnan and isinf for CUDA
* PR #5819: Add support for CUDA 11 and Ampere / CC 8.0
* PR #5826: CUDA: Add function to get SASS for kernels
* PR #5846: CUDA: Allow disabling NVVM optimizations, and fix debug issues
* PR #5851: CUDA EMM enhancements - add default get_ipc_handle implementation,
skip a test conditionally
* PR #5852: CUDA: Fix ``cuda.test()``
* PR #5857: CUDA docs: Add notes on resetting the EMM plugin
* PR #5859: CUDA: Fix reduce docs and style improvements
* PR #6016: Fixes change of list spelling in a cuda test.
* PR #6020: CUDA: Fix #5820, adding atomic nanmin / nanmax
* PR #6030: CUDA: Don't optimize IR before sending it to NVVM
* PR #6052: Fix dtype for atomic_add_double testsuite
* PR #6080: CUDA: Prevent auto-upgrade of atomic intrinsics

Documentation Updates:

* PR #5782: Host docs on Read the Docs
* PR #5830: doc: Mention that caching uses pickle
* PR #5963: Fix broken link to numpy ufunc signature docs
* PR #5975: restructure communication section
* PR #5981: Document bounds-checking behavior in python deviations page
* PR #5993: Docs for structref
* PR #6008: Small fix so bullet points are rendered by sphinx
* PR #6013: emphasize cuda kernel functions are asynchronous
* PR #6036: Update deprecation doc from numba.errors to numba.core.errors
* PR #6062: Change references to numba.pydata.org to https

CI updates:

* PR #5850: Updates the "New Issue" behaviour to better redirect users.
* PR #5940: Add discourse badge
* PR #5960: Setting mypy on CI

In development
Enhancements from user contributed PRs (with thanks!):

* Aisha Tammy added the ability to switch off TBB support at compile time in
#5821 (continued in #6031 by Stuart Archibald).
* Alexander Stiebing fixed a reference before assignment bug in #5952.
* Alexey Kozlov fixed a bug in tuple getitem for literals in #6028.
* Andrew Eckart updated the repomap in #5869, added support for Read the Docs
in #5782, fixed a bug in the ``np.dot`` implementation to correctly handle
empty arrays in #5779 and added support for ``minlength`` to ``np.bincount``
in #5763.
* ``@bitsisbits`` updated ``numba_sysinfo.py`` to handle HSA agents correctly in
#5956.
* Daichi Suzuo Fixed a bug in the threading backend initialisation sequence such
that it is now correctly a lazy lock in #5724.
* Eric Wieser contributed a number of patches, particularly in enhancing and
improving the ``ufunc`` capabilities:

* #5359: Remove special-casing of 0d arrays
* #5834: Fix the is operator on Ellipsis
* #5619: Add support for multi-output ufuncs
* #5841: cleanup: Use PythonAPI.bool_from_bool in more places
* #5862: Do not leak loop iteration variables into the numba.np.npyimpl
namespace
* #5838: Ensure ``Dispatcher.__eq__`` always returns a bool
* #5830: doc: Mention that caching uses pickle
* #5783: Make np.divide and np.remainder code more similar

* Ethan Pronovost added a guard to prevent the common mistake of applying a jit
decorator to the same function twice in #5881.
* Graham Markall contributed many patches to the CUDA target, as follows:

* #6052: Fix dtype for atomic_add_double tests
* #6030: CUDA: Don't optimize IR before sending it to NVVM
* #5846: CUDA: Allow disabling NVVM optimizations, and fix debug issues
* #5826: CUDA: Add function to get SASS for kernels
* #5851: CUDA EMM enhancements - add default get_ipc_handle implementation,
skip a test conditionally
* #5709: CUDA: Refactoring of cuda.jit and kernel / dispatcher abstractions
* #5819: Add support for CUDA 11 and Ampere / CC 8.0
* #6020: CUDA: Fix #5820, adding atomic nanmin / nanmax
* #5857: CUDA docs: Add notes on resetting the EMM plugin
* #5859: CUDA: Fix reduce docs and style improvements
* #5852: CUDA: Fix ``cuda.test()``
* #5732: CUDA Docs: document ``forall`` method of kernels

* Guilherme Leobas added support for ``str(int)`` in #5463 and
``np.asarray(literal value)``` in #5526.
* Hameer Abbasi deprecated the ``target`` kwarg for ``numba.jit`` in #5980.
* Hannes Pahl added a badge to the Numba github page linking to the new
discourse forum in #5940 and also fixed a bug that permitted illegal
combinations of flags to be passed into ``@jit`` in #5808.
* Kayran Schmidt emphasized that CUDA kernel functions are asynchronous in the
documentation in #6013.
* Leonardo Uieda fixed a broken link to the NumPy ufunc signature docs in #5963.
* Lucio Fernandez-Arjona added mypy to CI and started adding type annotations to
the code base in #5960, also fixed a (de)serialization problem on the
dispatcher in #5935, improved the undefined variable error message in #5876,
added support for division with timedelta input in #5711 and implemented
``setitem`` for records when the index is a ``StringLiteral`` in #5849.
* Ludovic Tiako documented Numba's bounds-checking behavior in the python
deviations page in #5981.
* Matt Roeschke changed all ``http`` references ``https`` in #6062.
* ``@niteya-shah`` implemented ``isnan`` and ``isinf`` for integer types on the
CUDA target in #5761 and implemented ``np.positive`` in #5796.
* Peter Würtz added CUDA stream callbacks and async awaitable streams in #5745.
* ``@rht`` fixed an invalid import referred to in the deprecation documentation
in #6036.
* Sergey Pokhodenko updated the SVML tests for LLVM 10 in #5962.
* Shyam Saladi fixed a Sphinx rendering bug in #6008.

Authors:

* Aisha Tammy
* Alexander Stiebing
* Alexey Kozlov
* Andrew Eckart
* ``@bitsisbits``
* Daichi Suzuo
* Eric Wieser
* Ethan Pronovost
* Graham Markall
* Guilherme Leobas
* Hameer Abbasi
* Hannes Pahl
* Kayran Schmidt
* Kozlov, Alexey
* Leonardo Uieda
* Lucio Fernandez-Arjona
* Ludovic Tiako
* Matt Roeschke
* ``@niteya-shah``
* Peter Würtz
* Sergey Pokhodenko
* Shyam Saladi
* ``@rht``
* Siu Kwan Lam (core dev)
* Stuart Archibald (core dev)
* Todd A. Anderson (core dev)
* Valentin Haenel (core dev)


Version 0.50.1 (Jun 24, 2020)
Expand Down
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
# All sphinx_rtd_theme options. Default values commented out; uncomment to
# change.
html_theme_options = {
'canonical_url': 'http://numba.pydata.org/numba-doc/latest/index.html',
'canonical_url': 'https://numba.pydata.org/numba-doc/latest/index.html',
# 'logo_only': False,
# 'display_version': True,
# 'prev_next_buttons_location': 'bottom',
Expand Down
2 changes: 1 addition & 1 deletion docs/source/cuda-reference/host.rst
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ Programming Guide Streams section
Streams are instances of :class:`numba.cuda.cudadrv.driver.Stream`:

.. autoclass:: numba.cuda.cudadrv.driver.Stream
:members: synchronize, auto_synchronize
:members: synchronize, auto_synchronize, add_callback, async_done

To create a new stream:

Expand Down
4 changes: 2 additions & 2 deletions docs/source/cuda-reference/kernel.rst
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ Dispatcher objects also provide several utility methods for inspection and
creating a specialized instance:

.. autoclass:: numba.cuda.compiler.Dispatcher
:members: inspect_asm, inspect_llvm, inspect_types, specialize, specialized,
extensions
:members: inspect_asm, inspect_llvm, inspect_sass, inspect_types,
specialize, specialized, extensions


Intrinsic Attributes and Functions
Expand Down
19 changes: 19 additions & 0 deletions docs/source/reference/deprecation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -254,3 +254,22 @@ This feature will be moved with respect to this schedule:
* Deprecation warnings will be issued in version 0.49.0
* Support for importing from ``numba.jitclass`` will be removed in version
0.52.0.

Deprecation of the target kwarg
===============================
There have been a number of users attempting to use the ``target`` keyword
argument that's meant for internal use only. We are deprecating this argument,
as alternative solutions are available to achieve the same behaviour.

Recommendations
---------------
Update the ``jit`` decorator as follows:

* Change ``@numba.jit(..., target='cuda')`` to ``numba.cuda.jit(...)``.

Schedule
--------
This feature will be moved with respect to this schedule:

* Deprecation warnings will be issued in 0.51.0.
* The target kwarg will be removed in version 0.53.0.
4 changes: 4 additions & 0 deletions docs/source/reference/envvars.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
Environment variables
=====================

.. note:: This section relates to environment variables that impact Numba's
runtime, for compile time environment variables see
:ref:`numba-source-install-env_vars`.

Numba allows its behaviour to be changed through the use of environment
variables. Unless otherwise mentioned, those variables have integer values and
default to zero.
Expand Down
Loading