@ Override public void synchronizeToHost ( AllocationPoint point ) { if ( ! point . isConstant ( ) && point . isEnqueued ( ) ) { waitTillFinished ( point ) ; } super . synchronizeToHost ( point ) ; }
This method makes sure HOST memory contains latest data from GPU