Port C to CUDA C

Cancelled - Find more jobs like this here