code: public static int cudaMemset(Pointer mem, int c, long count)
      {
          return checkResult(cudaMemsetNative(mem, c, count));
      }
docs: Initializes or sets device memory to a value.
  
  <pre>
  cudaError_t cudaMemset (
  void* devPtr,
  int  value,
  size_t count )
  </pre>
  <div>
  <p>Initializes or sets device memory to a
  value.  Fills the first <tt>count</tt> bytes of the memory area
  pointed to by <tt>devPtr</tt> with the constant byte value <tt>value</tt>.
  </p>
  <p>Note that this function is asynchronous
  with respect to the host unless <tt>devPtr</tt> refers to pinned host
  memory.
  </p>
  <div>
  <span>Note:</span>
  <ul>
  <li>
  <p>Note that this function may
  also return error codes from previous, asynchronous launches.
  </p>
  </li>
  </ul>
  </div>
  </p>
  </div>
  
  @param devPtr Pointer to device memory
  @param value Value to set for each byte of specified memory
  @param count Size in bytes to set
  
  @return cudaSuccess, cudaErrorInvalidValue,
  cudaErrorInvalidDevicePointer
  
  @see JCuda#cudaMemset2D
  @see JCuda#cudaMemset3D
  @see JCuda#cudaMemsetAsync
  @see JCuda#cudaMemset2DAsync
  @see JCuda#cudaMemset3DAsync