added cuda plugin, changed cmake script to use cuda