starting cuda code