OpenCL.jl icon indicating copy to clipboard operation
OpenCL.jl copied to clipboard

`enqueue_write_buffer` and `enqueue_read_buffer` arguments

Open jkozdon opened this issue 9 years ago • 0 comments

I was wondering as the reason for enqueue_write_buffer and enqueue_read_buffer taking different arguments, i.e., why does enqueue_write_buffer take nbytes and enqueue_read_buffer not. It seems that these should be same.

Also, currently nbytes is not used by enqueue_write_buffer, so the user does not have access to the low-level interface (instead the number of bytes is determined from the size of the host buffer).

jkozdon avatar Jun 01 '16 16:06 jkozdon