add GPU memory allocation debugging option