Automatic Conversion of Source Code for C to CUDA C