title: CUDA: cuMemsetD32 on an unsigned int buffer fails due to arguments in an invalid range
body: <p>I want to reset (set to 0) a buffer of type unsigned int. I don't know why but for me only the cuMemsetD8-version works. Here is my code:</p>
  
  <pre><code>CUdeviceptr pBuffer;
  cuMemAlloc(&amp;pBuffer, sizeof(unsigned int) * 1000);
  cuMemsetD32(pBuffer, 0, sizeof(unsigned int) * 1000); // fails with invalid argument (range) error
  </code></pre>