title: no instance of function template matches the argument list (trying to print array)
body: <p>When trying to compile this</p>
  
  <pre><code>template&lt;typename type,const char* format&gt;__device__ void d_prettyPrintVector(type* v, const unsigned int size)
  {
      printf("\n ");
      for(int i=0; i&lt;size; i++)
              printf(format, v[i]);
  }
  template&lt;&gt; void d_prettyPrintVector&lt;float, "%4.1f "&gt;(float*, const    unsigned int);
  template&lt;&gt; void d_prettyPrintVector&lt;int,   "%2d "  &gt;(int*,   const unsigned int);
  template&lt;&gt; void d_prettyPrintVector&lt;char,  "%2d "  &gt;(char*,  const unsigned int);
  template&lt;&gt; void d_prettyPrintVector&lt;bool,  "%d"    &gt;(bool*,  const unsigned int);
  </code></pre>
  
  <p>and use it like this</p>
  
  <pre><code>d_prettyPrintVector(dc, blockDim.x);
  </code></pre>
  
  <p>I am getting</p>
  
  <pre><code>kernels.cu(104): error: no instance of function template "d_prettyPrintVector" matches the argument list
          argument types are: (int *, const unsigned int)
  </code></pre>
  
  <p>what is wrong?</p>