parser for cuda