more c, cuda, and cpp