title: Unsupported gpu architecture compute_30 on a CUDA 5 capable gpu
body: <p>I'm currently trying to compile Darknet on the latest CUDA toolkit which is version 11.1. I have a GPU capable of running CUDA version 5 which is a GeForce 940M. However, while rebuilding darknet using the latest CUDA toolkit, it said</p>
  <blockquote>
  <p>nvcc fatal   : Unsupported GPU architecture 'compute_30'</p>
  </blockquote>
  <p>compute_30 is for version 3, how can it fail while my GPU can run version 5
  Is it possible that my code detected my intel graphics card instead of my Nvidia GPU? if that's the case, is it possible to change its detection?</p>