|
Using set_row, I can write array B to a row of array A. batch_func exists but it only can take 2 arrays. |
Replies: 5 comments
|
@BA8F0D39 Copy of whole Array Note that the program could also be slow because you are making about 100K round trips to the GPU just for three elements of data transfer which is very inefficient and costly in terms of performance. |
|
http://arrayfire.org/arrayfire-rust/arrayfire/fn.set_row.html |
|
@BA8F0D39 We have corrected that mutability in master already to reflect the same. This change will be available from next release. I hope to do this release by end of this week. So, kindly bare with us for the temporary inconvenience. |
|
@9prady9 |
The missing Hence, whatever slowness you are observing is not related to this |
The missing
mutqualifier is an issue at rust wrapper not reflecting how thelhsparameter toset_rowis handled internally to ArrayFire. Therefore, it is fix at rust wrapper level to an already existing behavior I explained hereHence, whatever slowness you are observing is not related to this
missing mutissue. Have you looked into what I have mentioned here ?