Nvcc fatal : Value 'sm_86' is not defined for option 'gpu-architecture'

We do support -arch in NVCC utility:

But currently we use a weird way to pass this argument:

As a result, target= "cuda -arch=xx" is not effective. Instead, you need to set the global variable as follows:

from tvm.autotvm.measure.measure_methods import set_cuda_target_arch
set_cuda_target_arch('sm_80')