config cuda memory bank on demand