Colab cannot use cudaDeviceReset()

I did the step to start programming CUDA on Colab, it runs well with simple example, but I cannot use the function : cudaDeviceReset(), not sure why or which steps I missed?

I did for these steps before programming :

  1. !pip install git+https://github.com/andreinechaev/nvcc4jupyter.git
  2. %load_ext nvcc_plugin

what is the error message?

It’s fixed now. thank you.