Nathaniel Smith
2014-03-09 03:42:42 UTC
Hey all,
I just wanted to give you a heads-up about a draft Python Enhancement
Proposal that I'm working on, for adding a dedicated matrix
multiplication operator ('@') to Python:
https://github.com/numpy/numpy/pull/4351
https://github.com/njsmith/numpy/blob/matmul-pep/doc/neps/return-of-revenge-of-matmul-pep.rst
This seems relevant to PyCUDA because IIUC your GPUArray is an ndarray
work-a-like, so if this PEP gets accepted then you'd probably want to
be implementing support for @.
So, I'd definitely welcome feedback on any aspect of the document, but
especially the "Semantics" section (since whatever ends up there is
what numpy and other projects will be doing, and perhaps PyCUDA as
well?). And if you *really* like it, then please let me know, because
I'd love to be able to include PyCUDA on the list of projects
"planning to implement @", as further evidence of our awesome
consensus and how the BDFL should totally accept this PEP. Let me
know!
-n
I just wanted to give you a heads-up about a draft Python Enhancement
Proposal that I'm working on, for adding a dedicated matrix
multiplication operator ('@') to Python:
https://github.com/numpy/numpy/pull/4351
https://github.com/njsmith/numpy/blob/matmul-pep/doc/neps/return-of-revenge-of-matmul-pep.rst
This seems relevant to PyCUDA because IIUC your GPUArray is an ndarray
work-a-like, so if this PEP gets accepted then you'd probably want to
be implementing support for @.
So, I'd definitely welcome feedback on any aspect of the document, but
especially the "Semantics" section (since whatever ends up there is
what numpy and other projects will be doing, and perhaps PyCUDA as
well?). And if you *really* like it, then please let me know, because
I'd love to be able to include PyCUDA on the list of projects
"planning to implement @", as further evidence of our awesome
consensus and how the BDFL should totally accept this PEP. Let me
know!
-n
--
Nathaniel J. Smith
Postdoctoral researcher - Informatics - University of Edinburgh
http://vorpus.org
Nathaniel J. Smith
Postdoctoral researcher - Informatics - University of Edinburgh
http://vorpus.org