pyopencl
pyopencl copied to clipboard
Modify Array.get() to cope with non-contiguous / padded arrays in 2 and 3 dimensions
This extends Array.get
for the cases that PyViennaCL is interested in -- I spent some time trying to write a fully general version to copy a padded array in n dimensions with as few distinct copies as possible, but it ended up taking more time than I could spare...