pavanky · GitHub

Currently we have the following known issues:


Problem: Arrays may be strided, but this information is unknown to the user. The user just gets the raw pointer.

Possible Solution: Provide the stride and offset information to the user.


Problem: When other arrays are pointing to the same device area pointed by the current array, any modifications to the data affects all arrays. The arrays that will get affected are not known to the user.

Possible Solution: Perform a memory copy of the device data internally if there is >1 reference. Update the meta data and send the new device pointer to the user.


Read the original on github.com ↗