Confusing error "CUDA_ERROR_INVALID_PTX"

Please take a look at Nvcc fatal : Value 'sm_86' is not defined for option 'gpu-architecture' - #5 by nicklhy and see if that helps.