CUDA optimizations

That code shows how to use several threads per vertex to achieve better memory accesses.