Adding missing CUDA calls checks