add genboundry with cuda