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
Buffer read, and write should now be manipulated using clEnqueue_op_BufferRect() if buffer is 2d or 3d.
CUDA version should rely on CUDA_MEMCPY for 2d and 3d.
From this we can enable a read_region and write_region method to the array class which should take the host_ptr (as source or destination). a starting coord (x,y,z) and a region size (w,h,d).
This can be mimic with the crop and paste kernel but in a less efficient way
For simplification, all call for memory accesses which takes an offset and a region are defined with defaults value (hard-coded).
Enabling none defaults value for these entries could simplify memory accessibility, e.g.
__getitem__
and__setitem__
for the python wrapper.ToDo:
Rect
buffer for OpenCLcopy
method behavior (see issue #96)The text was updated successfully, but these errors were encountered: