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
But to be able to use your proposal, we need PyCUDA/PyOpenCL check the .bytes fields of object it receive and not just .gpudata. But we don't want to always check this.
What about adding a parameter to SourceModule.get_function(, use_bytes=False). When use_bytes is True, it will check for the attributes bytes and not the attributes gpudata.
nouiz
pushed a commit
to nouiz/compyte
that referenced
this issue
Nov 20, 2013
To don't use this field by mistake in old code that don't support strides.
We need PyCUDA/PyOpenCL to try to use the .bytes fields when we ask him to do so.
The text was updated successfully, but these errors were encountered: