You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By stopping to make a view of NArray at #[], we can remove NDF_INDEX_LOOP, or all of codes using idx internally, and results in making very simple implementation.
This is a kind of feedback from Cumo.
In Cumo, idx C array must be transferred from CPU to GPU when we want to use it in CUDA Kernel.
Also, we have to copy back from GPU to CPU when we want to use it in CPU side.
It made implementation of Cumo very complex. I want to stop using idx.
The text was updated successfully, but these errors were encountered:
sonots
changed the title
Stop making a view of NArray at #aref (or Stop using idx)
[Propose] Stop making a view of NArray at #aref (or Stop using idx)
Jul 7, 2018
In Numo, advanced indexing returns a view of a Numo NArray.
In Numpy, advanced indexing returns a new ndarray.
I propose Numo to work similarly with NumPy.
By stopping to make a view of NArray at #[], we can remove NDF_INDEX_LOOP, or all of codes using idx internally, and results in making very simple implementation.
This is a kind of feedback from Cumo.
In Cumo,
idx
C array must be transferred from CPU to GPU when we want to use it in CUDA Kernel.Also, we have to copy back from GPU to CPU when we want to use it in CPU side.
It made implementation of Cumo very complex. I want to stop using idx.
The text was updated successfully, but these errors were encountered: