fix [free gpu mem during kernel execution]