Collection of cuda snippets.