// Perform a zero-copy of from device to host void* bones_pointer_to_ = clEnqueueMapBuffer(bones_queue,device_,CL_TRUE,CL_MAP_READ,,*sizeof(),0,NULL,NULL,&bones_errors); error_check(bones_errors); clEnqueueUnmapMemObject(bones_queue,device_,bones_pointer_to_,0,NULL,NULL); clFinish(bones_queue);