Cuda code addition