[Beignet] clEnqueueNDRangeKernel and kernel completion

Zou, Nanhai nanhai.zou at intel.com
Wed Jun 12 23:04:59 PDT 2013


>> Which method do you prefer?
 
Should remove the following
If (batch->buffer != NULL) {
	dri_bo_unreference(batch->buffer);
	batch->buffer = NULL);
}
That code is duplicated.

And 
dri_bo_unreference looks more consistant.

Thanks
Zou Nanhai




More information about the Beignet mailing list