Integrated the CUDA example seamlessly into the other examples if found. The CUDA example needs to be the last one.