CUDA and parallel computation notes