cuda uses cpp snippets