callbacks during cgh calculation