output of nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2019 NVIDIA Corporation
Built on Sun_Jul_28_19:07:16_PDT_2019
Cuda compilation tools, release 10.1, V10.1.243
I had cleaned the last failing build via python setup.py clean before rebuilding when I got the previous error.
I tried rebuilding again after cleaning the last failing build and it worked. Not sure what the problem was.
Thanks.