[Numpy-svn] [numpy/numpy] cacc2e: BUG: core: in dot(), make copies if out has memory...

GitHub noreply at github.com
Mon Jan 30 21:09:58 EST 2017


  Branch: refs/heads/master
  Home:   https://github.com/numpy/numpy
  Commit: cacc2ed5fd6bc06f16061f6f230a592ea8c68d3e
      https://github.com/numpy/numpy/commit/cacc2ed5fd6bc06f16061f6f230a592ea8c68d3e
  Author: Pauli Virtanen <pav at iki.fi>
  Date:   2017-01-28 (Sat, 28 Jan 2017)

  Changed paths:
    M numpy/core/src/multiarray/cblasfuncs.c
    M numpy/core/src/multiarray/multiarraymodule.c
    M numpy/core/tests/test_multiarray.py

  Log Message:
  -----------
  BUG: core: in dot(), make copies if out has memory overlap with input

BLAS does not allow aliased inputs. If user-provided out= argument may
overlap in memory with one of the inputs to dot(), put the output to a
temporary work array and copy back after the operation.


  Commit: d2848f055b85ec95a3097d6763d9ff89151d81e1
      https://github.com/numpy/numpy/commit/d2848f055b85ec95a3097d6763d9ff89151d81e1
  Author: Pauli Virtanen <pav at iki.fi>
  Date:   2017-01-29 (Sun, 29 Jan 2017)

  Changed paths:
    M numpy/core/tests/test_multiarray.py

  Log Message:
  -----------
  TST: core: make test_dot_out_mem_overlap minimal


  Commit: 780ef22557f25e1531221e06657afc18af084117
      https://github.com/numpy/numpy/commit/780ef22557f25e1531221e06657afc18af084117
  Author: Pauli Virtanen <pav at iki.fi>
  Date:   2017-01-29 (Sun, 29 Jan 2017)

  Changed paths:
    M numpy/core/src/multiarray/cblasfuncs.c
    M numpy/core/src/multiarray/multiarraymodule.c

  Log Message:
  -----------
  STY: core: rename variable ret to out_buf in matrix product


  Commit: 24e551b56c5af03e0cbfdb90a30ff299711094f0
      https://github.com/numpy/numpy/commit/24e551b56c5af03e0cbfdb90a30ff299711094f0
  Author: Pauli Virtanen <pav at iki.fi>
  Date:   2017-01-29 (Sun, 29 Jan 2017)

  Changed paths:
    M numpy/core/tests/test_multiarray.py

  Log Message:
  -----------
  TST: core: test all dtypes in test_dot_out_mem_overlap


  Commit: d4f5bea46f328c9378e9548f2a87d0500c95955a
      https://github.com/numpy/numpy/commit/d4f5bea46f328c9378e9548f2a87d0500c95955a
  Author: Charles Harris <charlesr.harris at gmail.com>
  Date:   2017-01-30 (Mon, 30 Jan 2017)

  Changed paths:
    M numpy/core/src/multiarray/cblasfuncs.c
    M numpy/core/src/multiarray/multiarraymodule.c
    M numpy/core/tests/test_multiarray.py

  Log Message:
  -----------
  Merge pull request #8539 from pv/dot-out-overlap

BUG: core: in dot(), make copies if out has memory overlap with input


Compare: https://github.com/numpy/numpy/compare/af506553cbeb...d4f5bea46f32


More information about the Numpy-svn mailing list