Fixed some errors in prototype.cu and compiled using NVCC.