very basic idea on the implementation of DTAM
start CUDA C Programming from cuda_by_example