public static int cuMemsetD2D32(CUdeviceptr dstDevice, long dstPitch, int ui, long Width, long Height)
    {
        return checkResult(cuMemsetD2D32Native(dstDevice, dstPitch, ui, Width, Height));
    }
public static int cuMemsetD2D32 ( CUdeviceptr dstDevice , long dstPitch , int ui , long Width , long Height ) { return checkResult ( cuMemsetD2D32Native ( dstDevice , dstPitch , ui , Width , Height ) ) ; }
Initializes device memory.

<pre>
CUresult cuMemsetD2D32 (
CUdeviceptr dstDevice,
size_t dstPitch,
unsigned int  ui,
size_t Width,
size_t Height )
</pre>
<div>
<p>Initializes device memory.  Sets the 2D
memory range of <tt>Width</tt> 32-bit values to the specified value
<tt>ui</tt>. <tt>Height</tt> specifies the number of rows to set,
and <tt>dstPitch</tt> specifies the number of bytes between each row.
The <tt>dstDevice</tt> pointer and <tt>dstPitch</tt> offset must be
four byte aligned. This function performs fastest when the pitch is
one that has been passed back by cuMemAllocPitch().
</p>
<p>Note that this function is asynchronous
with respect to the host unless <tt>dstDevice</tt> refers to pinned
host memory.
</p>
<div>
<span>Note:</span>
<p>Note that this
function may also return error codes from previous, asynchronous
launches.
</p>
</div>
</p>
</div>

@param dstDevice Destination device pointer
@param dstPitch Pitch of destination device pointer
@param ui Value to set
@param Width Width of row
@param Height Number of rows

@return CUDA_SUCCESS, CUDA_ERROR_DEINITIALIZED, CUDA_ERROR_NOT_INITIALIZED,
CUDA_ERROR_INVALID_CONTEXT, CUDA_ERROR_INVALID_VALUE

@see JCudaDriver#cuArray3DCreate
@see JCudaDriver#cuArray3DGetDescriptor
@see JCudaDriver#cuArrayCreate
@see JCudaDriver#cuArrayDestroy
@see JCudaDriver#cuArrayGetDescriptor
@see JCudaDriver#cuMemAlloc
@see JCudaDriver#cuMemAllocHost
@see JCudaDriver#cuMemAllocPitch
@see JCudaDriver#cuMemcpy2D
@see JCudaDriver#cuMemcpy2DAsync
@see JCudaDriver#cuMemcpy2DUnaligned
@see JCudaDriver#cuMemcpy3D
@see JCudaDriver#cuMemcpy3DAsync
@see JCudaDriver#cuMemcpyAtoA
@see JCudaDriver#cuMemcpyAtoD
@see JCudaDriver#cuMemcpyAtoH
@see JCudaDriver#cuMemcpyAtoHAsync
@see JCudaDriver#cuMemcpyDtoA
@see JCudaDriver#cuMemcpyDtoD
@see JCudaDriver#cuMemcpyDtoDAsync
@see JCudaDriver#cuMemcpyDtoH
@see JCudaDriver#cuMemcpyDtoHAsync
@see JCudaDriver#cuMemcpyHtoA
@see JCudaDriver#cuMemcpyHtoAAsync
@see JCudaDriver#cuMemcpyHtoD
@see JCudaDriver#cuMemcpyHtoDAsync
@see JCudaDriver#cuMemFree
@see JCudaDriver#cuMemFreeHost
@see JCudaDriver#cuMemGetAddressRange
@see JCudaDriver#cuMemGetInfo
@see JCudaDriver#cuMemHostAlloc
@see JCudaDriver#cuMemHostGetDevicePointer
@see JCudaDriver#cuMemsetD2D8
@see JCudaDriver#cuMemsetD2D8Async
@see JCudaDriver#cuMemsetD2D16
@see JCudaDriver#cuMemsetD2D16Async
@see JCudaDriver#cuMemsetD2D32Async
@see JCudaDriver#cuMemsetD8
@see JCudaDriver#cuMemsetD8Async
@see JCudaDriver#cuMemsetD16
@see JCudaDriver#cuMemsetD16Async
@see JCudaDriver#cuMemsetD32
@see JCudaDriver#cuMemsetD32Async