viewon01's picture

Cloo bug : ComputeJobQueue : Read

Hi,

I have discover a bug into Cloo class "ComputeJobQueue : Read"

You declare the 'size' parameter but you use the 'buffer.ByteSize' to call clEnqueueReadBuffer.

It is a problem, when (by example) we read a chunk at a time... I think you should replace it with new 'IntPtr(size * sizeofT)'

Is it correct ?

Thanks


Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
nythrix's picture

Most valuable observation. Fixed along with two more bugs.
I'll refresh my online repository as soon as I recover from the usual new year's eve drinking contest.
I can't grab the mouse properly, right now.