My initial foray into Cuda programming