title: No numpy function works in numba cuda.jit
body: <p>I've tried running this code</p>
  
  <pre><code>@cuda.jit
  def arr():
      a = np.array([1., 2., 3., 4.], dtype=np.float32)
  arr()
  </code></pre>
  
  <p>But it results in this error <code>TypingError: Failed in nopython mode pipeline (step: nopython frontend)
  Use of unsupported NumPy function 'numpy.array' or unsupported use of the function.</code> I don't understand why that happens, shouldn't cuda.jit support most if not all numpy functions? It also occurs with np.zeros and np.empty, and probably all other functions (it works with normal @jit even when nopython is true)</p>