Class DriverAPINativeMethods.SynchronousMemcpy_v2
Intra-device memcpy's done with these functions may execute in parallel with the CPU, but if host memory is involved, they wait until the copy is done before returning.
Inheritance
Inherited Members
Namespace: ManagedCuda
Assembly: ManagedCuda.dll
Syntax
public static class SynchronousMemcpy_v2
Methods
cuMemcpy(CUdeviceptr, CUdeviceptr, SizeT)
Copies data between two pointers.
dst
and src
are base pointers of the destination and source, respectively.
ByteCount
specifies the number of bytes to copy.
Note that this function infers the type of the transfer (host to host, host to
device, device to device, or device to host) from the pointer values. This
function is only allowed in contexts which support unified addressing.
Note that this function is synchronous.
Declaration
public static CUResult cuMemcpy(CUdeviceptr dst, CUdeviceptr src, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dst | Destination unified virtual address space pointer |
CUdeviceptr | src | Source unified virtual address space pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpy2D_v2(ref CUDAMemCpy2D)
Perform a 2D memory copy according to the parameters specified in pCopy
. See CUDAMemCpy2D.
cuMemcpy2D_v2(ref CUDAMemCpy2D) returns an error if any pitch is greater than the maximum allowed (memPitch).
cuMemAllocPitch_v2(ref CUdeviceptr, ref SizeT, SizeT, SizeT, UInt32) passes back pitches that always work with cuMemcpy2D_v2(ref CUDAMemCpy2D). On intra-device
memory copies (device <-> device, CUDA array <-> device, CUDA array <-> CUDA array), cuMemcpy2D_v2(ref CUDAMemCpy2D) may fail
for pitches not computed by cuMemAllocPitch_v2(ref CUdeviceptr, ref SizeT, SizeT, SizeT, UInt32). cuMemcpy2DUnaligned_v2(ref CUDAMemCpy2D) does not have this restriction, but
may run significantly slower in the cases where cuMemcpy2D_v2(ref CUDAMemCpy2D) would have returned an error code.
Declaration
public static CUResult cuMemcpy2D_v2(ref CUDAMemCpy2D pCopy)
Parameters
Type | Name | Description |
---|---|---|
CUDAMemCpy2D | pCopy | Parameters for the memory copy |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpy2DUnaligned_v2(ref CUDAMemCpy2D)
Perform a 2D memory copy according to the parameters specified in pCopy
. See CUDAMemCpy2D.
Declaration
public static CUResult cuMemcpy2DUnaligned_v2(ref CUDAMemCpy2D pCopy)
Parameters
Type | Name | Description |
---|---|---|
CUDAMemCpy2D | pCopy | Parameters for the memory copy |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpy3D_v2(ref CUDAMemCpy3D)
Perform a 3D memory copy according to the parameters specified in pCopy
. See CUDAMemCpy3D.
The srcLOD and dstLOD members of the CUDAMemCpy3D structure must be set to 0.
Declaration
public static CUResult cuMemcpy3D_v2(ref CUDAMemCpy3D pCopy)
Parameters
Type | Name | Description |
---|---|---|
CUDAMemCpy3D | pCopy | Parameters for the memory copy |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpy3DPeer(ref CUDAMemCpy3DPeer)
Perform a 3D memory copy according to the parameters specified in
pCopy
. See the definition of the CUDAMemCpy3DPeer structure
for documentation of its parameters.
Note that this function is synchronous with respect to the host only if the source or destination memory is of type ::CU_MEMORYTYPE_HOST. Note also that this copy is serialized with respect all pending and future asynchronous work in to the current context, the copy's source context, and the copy's destination context (use cuMemcpy3DPeerAsync(ref CUDAMemCpy3DPeer, CUstream) to avoid this synchronization).
Declaration
public static CUResult cuMemcpy3DPeer(ref CUDAMemCpy3DPeer pCopy)
Parameters
Type | Name | Description |
---|---|---|
CUDAMemCpy3DPeer | pCopy | Parameters for the memory copy |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyAtoA_v2(CUarray, SizeT, CUarray, SizeT, SizeT)
Copies from one 1D CUDA array to another. dstArray
and srcArray
specify the handles of the destination and
source CUDA arrays for the copy, respectively. dstOffset
and srcOffset
specify the destination and source
offsets in bytes into the CUDA arrays. ByteCount
is the number of bytes to be copied. The size of the elements
in the CUDA arrays need not be the same format, but the elements must be the same size; and count must be evenly
divisible by that size.
Declaration
public static CUResult cuMemcpyAtoA_v2(CUarray dstArray, SizeT dstOffset, CUarray srcArray, SizeT srcOffset, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUarray | dstArray | Destination array |
SizeT | dstOffset | Offset in bytes of destination array |
CUarray | srcArray | Source array |
SizeT | srcOffset | Offset in bytes of source array |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyAtoD_v2(CUdeviceptr, CUarray, SizeT, SizeT)
Copies from one 1D CUDA array to device memory. dstDevice
specifies the base pointer of the destination and
must be naturally aligned with the CUDA array elements. srcArray
and srcOffset
specify the CUDA array
handle and the offset in bytes into the array where the copy is to begin. ByteCount
specifies the number of bytes to
copy and must be evenly divisible by the array element size.
Declaration
public static CUResult cuMemcpyAtoD_v2(CUdeviceptr dstDevice, CUarray srcArray, SizeT srcOffset, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
CUarray | srcArray | Source array |
SizeT | srcOffset | Offset in bytes of source array |
SizeT | ByteCount | Size of memory copy in bytes. Must be evenly divisible by the array element size. |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyAtoH_v2(char1[], CUarray, SizeT, SizeT)
Copies from one 1D CUDA array to host memory. dstHost
specifies the base pointer of the destination. srcArray
and srcOffset
specify the CUDA array handle and starting offset in bytes of the source data. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyAtoH_v2(char1[] dstHost, CUarray srcArray, SizeT srcOffset, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
char1[] | dstHost | Destination device pointer |
CUarray | srcArray | Source array |
SizeT | srcOffset | Offset in bytes of source array |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyAtoH_v2(char2[], CUarray, SizeT, SizeT)
Copies from one 1D CUDA array to host memory. dstHost
specifies the base pointer of the destination. srcArray
and srcOffset
specify the CUDA array handle and starting offset in bytes of the source data. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyAtoH_v2(char2[] dstHost, CUarray srcArray, SizeT srcOffset, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
char2[] | dstHost | Destination device pointer |
CUarray | srcArray | Source array |
SizeT | srcOffset | Offset in bytes of source array |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyAtoH_v2(char3[], CUarray, SizeT, SizeT)
Copies from one 1D CUDA array to host memory. dstHost
specifies the base pointer of the destination. srcArray
and srcOffset
specify the CUDA array handle and starting offset in bytes of the source data. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyAtoH_v2(char3[] dstHost, CUarray srcArray, SizeT srcOffset, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
char3[] | dstHost | Destination device pointer |
CUarray | srcArray | Source array |
SizeT | srcOffset | Offset in bytes of source array |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyAtoH_v2(char4[], CUarray, SizeT, SizeT)
Copies from one 1D CUDA array to host memory. dstHost
specifies the base pointer of the destination. srcArray
and srcOffset
specify the CUDA array handle and starting offset in bytes of the source data. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyAtoH_v2(char4[] dstHost, CUarray srcArray, SizeT srcOffset, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
char4[] | dstHost | Destination device pointer |
CUarray | srcArray | Source array |
SizeT | srcOffset | Offset in bytes of source array |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyAtoH_v2(cuDoubleComplex[], CUarray, SizeT, SizeT)
Copies from one 1D CUDA array to host memory. dstHost
specifies the base pointer of the destination. srcArray
and srcOffset
specify the CUDA array handle and starting offset in bytes of the source data. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyAtoH_v2(cuDoubleComplex[] dstHost, CUarray srcArray, SizeT srcOffset, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
cuDoubleComplex[] | dstHost | Destination device pointer |
CUarray | srcArray | Source array |
SizeT | srcOffset | Offset in bytes of source array |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyAtoH_v2(cuDoubleReal[], CUarray, SizeT, SizeT)
Copies from one 1D CUDA array to host memory. dstHost
specifies the base pointer of the destination. srcArray
and srcOffset
specify the CUDA array handle and starting offset in bytes of the source data. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyAtoH_v2(cuDoubleReal[] dstHost, CUarray srcArray, SizeT srcOffset, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
cuDoubleReal[] | dstHost | Destination device pointer |
CUarray | srcArray | Source array |
SizeT | srcOffset | Offset in bytes of source array |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyAtoH_v2(cuFloatComplex[], CUarray, SizeT, SizeT)
Copies from one 1D CUDA array to host memory. dstHost
specifies the base pointer of the destination. srcArray
and srcOffset
specify the CUDA array handle and starting offset in bytes of the source data. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyAtoH_v2(cuFloatComplex[] dstHost, CUarray srcArray, SizeT srcOffset, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
cuFloatComplex[] | dstHost | Destination device pointer |
CUarray | srcArray | Source array |
SizeT | srcOffset | Offset in bytes of source array |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyAtoH_v2(cuFloatReal[], CUarray, SizeT, SizeT)
Copies from one 1D CUDA array to host memory. dstHost
specifies the base pointer of the destination. srcArray
and srcOffset
specify the CUDA array handle and starting offset in bytes of the source data. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyAtoH_v2(cuFloatReal[] dstHost, CUarray srcArray, SizeT srcOffset, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
cuFloatReal[] | dstHost | Destination device pointer |
CUarray | srcArray | Source array |
SizeT | srcOffset | Offset in bytes of source array |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyAtoH_v2(dim3[], CUarray, SizeT, SizeT)
Copies from one 1D CUDA array to host memory. dstHost
specifies the base pointer of the destination. srcArray
and srcOffset
specify the CUDA array handle and starting offset in bytes of the source data. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyAtoH_v2(dim3[] dstHost, CUarray srcArray, SizeT srcOffset, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
dim3[] | dstHost | Destination device pointer |
CUarray | srcArray | Source array |
SizeT | srcOffset | Offset in bytes of source array |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyAtoH_v2(double1[], CUarray, SizeT, SizeT)
Copies from one 1D CUDA array to host memory. dstHost
specifies the base pointer of the destination. srcArray
and srcOffset
specify the CUDA array handle and starting offset in bytes of the source data. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyAtoH_v2(double1[] dstHost, CUarray srcArray, SizeT srcOffset, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
double1[] | dstHost | Destination device pointer |
CUarray | srcArray | Source array |
SizeT | srcOffset | Offset in bytes of source array |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyAtoH_v2(double2[], CUarray, SizeT, SizeT)
Copies from one 1D CUDA array to host memory. dstHost
specifies the base pointer of the destination. srcArray
and srcOffset
specify the CUDA array handle and starting offset in bytes of the source data. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyAtoH_v2(double2[] dstHost, CUarray srcArray, SizeT srcOffset, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
double2[] | dstHost | Destination device pointer |
CUarray | srcArray | Source array |
SizeT | srcOffset | Offset in bytes of source array |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyAtoH_v2(float1[], CUarray, SizeT, SizeT)
Copies from one 1D CUDA array to host memory. dstHost
specifies the base pointer of the destination. srcArray
and srcOffset
specify the CUDA array handle and starting offset in bytes of the source data. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyAtoH_v2(float1[] dstHost, CUarray srcArray, SizeT srcOffset, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
float1[] | dstHost | Destination device pointer |
CUarray | srcArray | Source array |
SizeT | srcOffset | Offset in bytes of source array |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyAtoH_v2(float2[], CUarray, SizeT, SizeT)
Copies from one 1D CUDA array to host memory. dstHost
specifies the base pointer of the destination. srcArray
and srcOffset
specify the CUDA array handle and starting offset in bytes of the source data. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyAtoH_v2(float2[] dstHost, CUarray srcArray, SizeT srcOffset, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
float2[] | dstHost | Destination device pointer |
CUarray | srcArray | Source array |
SizeT | srcOffset | Offset in bytes of source array |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyAtoH_v2(float3[], CUarray, SizeT, SizeT)
Copies from one 1D CUDA array to host memory. dstHost
specifies the base pointer of the destination. srcArray
and srcOffset
specify the CUDA array handle and starting offset in bytes of the source data. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyAtoH_v2(float3[] dstHost, CUarray srcArray, SizeT srcOffset, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
float3[] | dstHost | Destination device pointer |
CUarray | srcArray | Source array |
SizeT | srcOffset | Offset in bytes of source array |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyAtoH_v2(float4[], CUarray, SizeT, SizeT)
Copies from one 1D CUDA array to host memory. dstHost
specifies the base pointer of the destination. srcArray
and srcOffset
specify the CUDA array handle and starting offset in bytes of the source data. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyAtoH_v2(float4[] dstHost, CUarray srcArray, SizeT srcOffset, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
float4[] | dstHost | Destination device pointer |
CUarray | srcArray | Source array |
SizeT | srcOffset | Offset in bytes of source array |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyAtoH_v2(int1[], CUarray, SizeT, SizeT)
Copies from one 1D CUDA array to host memory. dstHost
specifies the base pointer of the destination. srcArray
and srcOffset
specify the CUDA array handle and starting offset in bytes of the source data. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyAtoH_v2(int1[] dstHost, CUarray srcArray, SizeT srcOffset, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
int1[] | dstHost | Destination device pointer |
CUarray | srcArray | Source array |
SizeT | srcOffset | Offset in bytes of source array |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyAtoH_v2(int2[], CUarray, SizeT, SizeT)
Copies from one 1D CUDA array to host memory. dstHost
specifies the base pointer of the destination. srcArray
and srcOffset
specify the CUDA array handle and starting offset in bytes of the source data. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyAtoH_v2(int2[] dstHost, CUarray srcArray, SizeT srcOffset, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
int2[] | dstHost | Destination device pointer |
CUarray | srcArray | Source array |
SizeT | srcOffset | Offset in bytes of source array |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyAtoH_v2(int3[], CUarray, SizeT, SizeT)
Copies from one 1D CUDA array to host memory. dstHost
specifies the base pointer of the destination. srcArray
and srcOffset
specify the CUDA array handle and starting offset in bytes of the source data. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyAtoH_v2(int3[] dstHost, CUarray srcArray, SizeT srcOffset, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
int3[] | dstHost | Destination device pointer |
CUarray | srcArray | Source array |
SizeT | srcOffset | Offset in bytes of source array |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyAtoH_v2(int4[], CUarray, SizeT, SizeT)
Copies from one 1D CUDA array to host memory. dstHost
specifies the base pointer of the destination. srcArray
and srcOffset
specify the CUDA array handle and starting offset in bytes of the source data. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyAtoH_v2(int4[] dstHost, CUarray srcArray, SizeT srcOffset, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
int4[] | dstHost | Destination device pointer |
CUarray | srcArray | Source array |
SizeT | srcOffset | Offset in bytes of source array |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyAtoH_v2(long1[], CUarray, SizeT, SizeT)
Copies from one 1D CUDA array to host memory. dstHost
specifies the base pointer of the destination. srcArray
and srcOffset
specify the CUDA array handle and starting offset in bytes of the source data. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyAtoH_v2(long1[] dstHost, CUarray srcArray, SizeT srcOffset, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
long1[] | dstHost | Destination device pointer |
CUarray | srcArray | Source array |
SizeT | srcOffset | Offset in bytes of source array |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyAtoH_v2(long2[], CUarray, SizeT, SizeT)
Copies from one 1D CUDA array to host memory. dstHost
specifies the base pointer of the destination. srcArray
and srcOffset
specify the CUDA array handle and starting offset in bytes of the source data. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyAtoH_v2(long2[] dstHost, CUarray srcArray, SizeT srcOffset, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
long2[] | dstHost | Destination device pointer |
CUarray | srcArray | Source array |
SizeT | srcOffset | Offset in bytes of source array |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyAtoH_v2(long3[], CUarray, SizeT, SizeT)
Copies from one 1D CUDA array to host memory. dstHost
specifies the base pointer of the destination. srcArray
and srcOffset
specify the CUDA array handle and starting offset in bytes of the source data. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyAtoH_v2(long3[] dstHost, CUarray srcArray, SizeT srcOffset, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
long3[] | dstHost | Destination device pointer |
CUarray | srcArray | Source array |
SizeT | srcOffset | Offset in bytes of source array |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyAtoH_v2(long4[], CUarray, SizeT, SizeT)
Copies from one 1D CUDA array to host memory. dstHost
specifies the base pointer of the destination. srcArray
and srcOffset
specify the CUDA array handle and starting offset in bytes of the source data. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyAtoH_v2(long4[] dstHost, CUarray srcArray, SizeT srcOffset, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
long4[] | dstHost | Destination device pointer |
CUarray | srcArray | Source array |
SizeT | srcOffset | Offset in bytes of source array |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyAtoH_v2(short1[], CUarray, SizeT, SizeT)
Copies from one 1D CUDA array to host memory. dstHost
specifies the base pointer of the destination. srcArray
and srcOffset
specify the CUDA array handle and starting offset in bytes of the source data. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyAtoH_v2(short1[] dstHost, CUarray srcArray, SizeT srcOffset, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
short1[] | dstHost | Destination device pointer |
CUarray | srcArray | Source array |
SizeT | srcOffset | Offset in bytes of source array |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyAtoH_v2(short2[], CUarray, SizeT, SizeT)
Copies from one 1D CUDA array to host memory. dstHost
specifies the base pointer of the destination. srcArray
and srcOffset
specify the CUDA array handle and starting offset in bytes of the source data. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyAtoH_v2(short2[] dstHost, CUarray srcArray, SizeT srcOffset, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
short2[] | dstHost | Destination device pointer |
CUarray | srcArray | Source array |
SizeT | srcOffset | Offset in bytes of source array |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyAtoH_v2(short3[], CUarray, SizeT, SizeT)
Copies from one 1D CUDA array to host memory. dstHost
specifies the base pointer of the destination. srcArray
and srcOffset
specify the CUDA array handle and starting offset in bytes of the source data. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyAtoH_v2(short3[] dstHost, CUarray srcArray, SizeT srcOffset, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
short3[] | dstHost | Destination device pointer |
CUarray | srcArray | Source array |
SizeT | srcOffset | Offset in bytes of source array |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyAtoH_v2(short4[], CUarray, SizeT, SizeT)
Copies from one 1D CUDA array to host memory. dstHost
specifies the base pointer of the destination. srcArray
and srcOffset
specify the CUDA array handle and starting offset in bytes of the source data. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyAtoH_v2(short4[] dstHost, CUarray srcArray, SizeT srcOffset, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
short4[] | dstHost | Destination device pointer |
CUarray | srcArray | Source array |
SizeT | srcOffset | Offset in bytes of source array |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyAtoH_v2(uchar1[], CUarray, SizeT, SizeT)
Copies from one 1D CUDA array to host memory. dstHost
specifies the base pointer of the destination. srcArray
and srcOffset
specify the CUDA array handle and starting offset in bytes of the source data. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyAtoH_v2(uchar1[] dstHost, CUarray srcArray, SizeT srcOffset, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
uchar1[] | dstHost | Destination device pointer |
CUarray | srcArray | Source array |
SizeT | srcOffset | Offset in bytes of source array |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyAtoH_v2(uchar2[], CUarray, SizeT, SizeT)
Copies from one 1D CUDA array to host memory. dstHost
specifies the base pointer of the destination. srcArray
and srcOffset
specify the CUDA array handle and starting offset in bytes of the source data. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyAtoH_v2(uchar2[] dstHost, CUarray srcArray, SizeT srcOffset, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
uchar2[] | dstHost | Destination device pointer |
CUarray | srcArray | Source array |
SizeT | srcOffset | Offset in bytes of source array |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyAtoH_v2(uchar3[], CUarray, SizeT, SizeT)
Copies from one 1D CUDA array to host memory. dstHost
specifies the base pointer of the destination. srcArray
and srcOffset
specify the CUDA array handle and starting offset in bytes of the source data. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyAtoH_v2(uchar3[] dstHost, CUarray srcArray, SizeT srcOffset, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
uchar3[] | dstHost | Destination device pointer |
CUarray | srcArray | Source array |
SizeT | srcOffset | Offset in bytes of source array |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyAtoH_v2(uchar4[], CUarray, SizeT, SizeT)
Copies from one 1D CUDA array to host memory. dstHost
specifies the base pointer of the destination. srcArray
and srcOffset
specify the CUDA array handle and starting offset in bytes of the source data. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyAtoH_v2(uchar4[] dstHost, CUarray srcArray, SizeT srcOffset, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
uchar4[] | dstHost | Destination device pointer |
CUarray | srcArray | Source array |
SizeT | srcOffset | Offset in bytes of source array |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyAtoH_v2(uint1[], CUarray, SizeT, SizeT)
Copies from one 1D CUDA array to host memory. dstHost
specifies the base pointer of the destination. srcArray
and srcOffset
specify the CUDA array handle and starting offset in bytes of the source data. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyAtoH_v2(uint1[] dstHost, CUarray srcArray, SizeT srcOffset, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
uint1[] | dstHost | Destination device pointer |
CUarray | srcArray | Source array |
SizeT | srcOffset | Offset in bytes of source array |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyAtoH_v2(uint2[], CUarray, SizeT, SizeT)
Copies from one 1D CUDA array to host memory. dstHost
specifies the base pointer of the destination. srcArray
and srcOffset
specify the CUDA array handle and starting offset in bytes of the source data. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyAtoH_v2(uint2[] dstHost, CUarray srcArray, SizeT srcOffset, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
uint2[] | dstHost | Destination device pointer |
CUarray | srcArray | Source array |
SizeT | srcOffset | Offset in bytes of source array |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyAtoH_v2(uint3[], CUarray, SizeT, SizeT)
Copies from one 1D CUDA array to host memory. dstHost
specifies the base pointer of the destination. srcArray
and srcOffset
specify the CUDA array handle and starting offset in bytes of the source data. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyAtoH_v2(uint3[] dstHost, CUarray srcArray, SizeT srcOffset, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
uint3[] | dstHost | Destination device pointer |
CUarray | srcArray | Source array |
SizeT | srcOffset | Offset in bytes of source array |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyAtoH_v2(uint4[], CUarray, SizeT, SizeT)
Copies from one 1D CUDA array to host memory. dstHost
specifies the base pointer of the destination. srcArray
and srcOffset
specify the CUDA array handle and starting offset in bytes of the source data. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyAtoH_v2(uint4[] dstHost, CUarray srcArray, SizeT srcOffset, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
uint4[] | dstHost | Destination device pointer |
CUarray | srcArray | Source array |
SizeT | srcOffset | Offset in bytes of source array |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyAtoH_v2(ulong1[], CUarray, SizeT, SizeT)
Copies from one 1D CUDA array to host memory. dstHost
specifies the base pointer of the destination. srcArray
and srcOffset
specify the CUDA array handle and starting offset in bytes of the source data. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyAtoH_v2(ulong1[] dstHost, CUarray srcArray, SizeT srcOffset, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
ulong1[] | dstHost | Destination device pointer |
CUarray | srcArray | Source array |
SizeT | srcOffset | Offset in bytes of source array |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyAtoH_v2(ulong2[], CUarray, SizeT, SizeT)
Copies from one 1D CUDA array to host memory. dstHost
specifies the base pointer of the destination. srcArray
and srcOffset
specify the CUDA array handle and starting offset in bytes of the source data. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyAtoH_v2(ulong2[] dstHost, CUarray srcArray, SizeT srcOffset, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
ulong2[] | dstHost | Destination device pointer |
CUarray | srcArray | Source array |
SizeT | srcOffset | Offset in bytes of source array |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyAtoH_v2(ulong3[], CUarray, SizeT, SizeT)
Copies from one 1D CUDA array to host memory. dstHost
specifies the base pointer of the destination. srcArray
and srcOffset
specify the CUDA array handle and starting offset in bytes of the source data. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyAtoH_v2(ulong3[] dstHost, CUarray srcArray, SizeT srcOffset, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
ulong3[] | dstHost | Destination device pointer |
CUarray | srcArray | Source array |
SizeT | srcOffset | Offset in bytes of source array |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyAtoH_v2(ulong4[], CUarray, SizeT, SizeT)
Copies from one 1D CUDA array to host memory. dstHost
specifies the base pointer of the destination. srcArray
and srcOffset
specify the CUDA array handle and starting offset in bytes of the source data. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyAtoH_v2(ulong4[] dstHost, CUarray srcArray, SizeT srcOffset, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
ulong4[] | dstHost | Destination device pointer |
CUarray | srcArray | Source array |
SizeT | srcOffset | Offset in bytes of source array |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyAtoH_v2(ushort1[], CUarray, SizeT, SizeT)
Copies from one 1D CUDA array to host memory. dstHost
specifies the base pointer of the destination. srcArray
and srcOffset
specify the CUDA array handle and starting offset in bytes of the source data. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyAtoH_v2(ushort1[] dstHost, CUarray srcArray, SizeT srcOffset, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
ushort1[] | dstHost | Destination device pointer |
CUarray | srcArray | Source array |
SizeT | srcOffset | Offset in bytes of source array |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyAtoH_v2(ushort2[], CUarray, SizeT, SizeT)
Copies from one 1D CUDA array to host memory. dstHost
specifies the base pointer of the destination. srcArray
and srcOffset
specify the CUDA array handle and starting offset in bytes of the source data. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyAtoH_v2(ushort2[] dstHost, CUarray srcArray, SizeT srcOffset, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
ushort2[] | dstHost | Destination device pointer |
CUarray | srcArray | Source array |
SizeT | srcOffset | Offset in bytes of source array |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyAtoH_v2(ushort3[], CUarray, SizeT, SizeT)
Copies from one 1D CUDA array to host memory. dstHost
specifies the base pointer of the destination. srcArray
and srcOffset
specify the CUDA array handle and starting offset in bytes of the source data. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyAtoH_v2(ushort3[] dstHost, CUarray srcArray, SizeT srcOffset, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
ushort3[] | dstHost | Destination device pointer |
CUarray | srcArray | Source array |
SizeT | srcOffset | Offset in bytes of source array |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyAtoH_v2(ushort4[], CUarray, SizeT, SizeT)
Copies from one 1D CUDA array to host memory. dstHost
specifies the base pointer of the destination. srcArray
and srcOffset
specify the CUDA array handle and starting offset in bytes of the source data. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyAtoH_v2(ushort4[] dstHost, CUarray srcArray, SizeT srcOffset, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
ushort4[] | dstHost | Destination device pointer |
CUarray | srcArray | Source array |
SizeT | srcOffset | Offset in bytes of source array |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyAtoH_v2(Byte[], CUarray, SizeT, SizeT)
Copies from one 1D CUDA array to host memory. dstHost
specifies the base pointer of the destination. srcArray
and srcOffset
specify the CUDA array handle and starting offset in bytes of the source data. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyAtoH_v2(byte[] dstHost, CUarray srcArray, SizeT srcOffset, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | dstHost | Destination device pointer |
CUarray | srcArray | Source array |
SizeT | srcOffset | Offset in bytes of source array |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyAtoH_v2(Double[], CUarray, SizeT, SizeT)
Copies from one 1D CUDA array to host memory. dstHost
specifies the base pointer of the destination. srcArray
and srcOffset
specify the CUDA array handle and starting offset in bytes of the source data. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyAtoH_v2(double[] dstHost, CUarray srcArray, SizeT srcOffset, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
System.Double[] | dstHost | Destination device pointer |
CUarray | srcArray | Source array |
SizeT | srcOffset | Offset in bytes of source array |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyAtoH_v2(Int16[], CUarray, SizeT, SizeT)
Copies from one 1D CUDA array to host memory. dstHost
specifies the base pointer of the destination. srcArray
and srcOffset
specify the CUDA array handle and starting offset in bytes of the source data. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyAtoH_v2(short[] dstHost, CUarray srcArray, SizeT srcOffset, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
System.Int16[] | dstHost | Destination device pointer |
CUarray | srcArray | Source array |
SizeT | srcOffset | Offset in bytes of source array |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyAtoH_v2(Int32[], CUarray, SizeT, SizeT)
Copies from one 1D CUDA array to host memory. dstHost
specifies the base pointer of the destination. srcArray
and srcOffset
specify the CUDA array handle and starting offset in bytes of the source data. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyAtoH_v2(int[] dstHost, CUarray srcArray, SizeT srcOffset, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
System.Int32[] | dstHost | Destination device pointer |
CUarray | srcArray | Source array |
SizeT | srcOffset | Offset in bytes of source array |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyAtoH_v2(Int64[], CUarray, SizeT, SizeT)
Copies from one 1D CUDA array to host memory. dstHost
specifies the base pointer of the destination. srcArray
and srcOffset
specify the CUDA array handle and starting offset in bytes of the source data. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyAtoH_v2(long[] dstHost, CUarray srcArray, SizeT srcOffset, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
System.Int64[] | dstHost | Destination device pointer |
CUarray | srcArray | Source array |
SizeT | srcOffset | Offset in bytes of source array |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyAtoH_v2(IntPtr, CUarray, SizeT, SizeT)
Copies from one 1D CUDA array to host memory. dstHost
specifies the base pointer of the destination. srcArray
and srcOffset
specify the CUDA array handle and starting offset in bytes of the source data. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyAtoH_v2(IntPtr dstHost, CUarray srcArray, SizeT srcOffset, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | dstHost | Destination device pointer |
CUarray | srcArray | Source array |
SizeT | srcOffset | Offset in bytes of source array |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyAtoH_v2(SByte[], CUarray, SizeT, SizeT)
Copies from one 1D CUDA array to host memory. dstHost
specifies the base pointer of the destination. srcArray
and srcOffset
specify the CUDA array handle and starting offset in bytes of the source data. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyAtoH_v2(sbyte[] dstHost, CUarray srcArray, SizeT srcOffset, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
System.SByte[] | dstHost | Destination device pointer |
CUarray | srcArray | Source array |
SizeT | srcOffset | Offset in bytes of source array |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyAtoH_v2(Single[], CUarray, SizeT, SizeT)
Copies from one 1D CUDA array to host memory. dstHost
specifies the base pointer of the destination. srcArray
and srcOffset
specify the CUDA array handle and starting offset in bytes of the source data. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyAtoH_v2(float[] dstHost, CUarray srcArray, SizeT srcOffset, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
System.Single[] | dstHost | Destination device pointer |
CUarray | srcArray | Source array |
SizeT | srcOffset | Offset in bytes of source array |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyAtoH_v2(UInt16[], CUarray, SizeT, SizeT)
Copies from one 1D CUDA array to host memory. dstHost
specifies the base pointer of the destination. srcArray
and srcOffset
specify the CUDA array handle and starting offset in bytes of the source data. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyAtoH_v2(ushort[] dstHost, CUarray srcArray, SizeT srcOffset, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
System.UInt16[] | dstHost | Destination device pointer |
CUarray | srcArray | Source array |
SizeT | srcOffset | Offset in bytes of source array |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyAtoH_v2(UInt32[], CUarray, SizeT, SizeT)
Copies from one 1D CUDA array to host memory. dstHost
specifies the base pointer of the destination. srcArray
and srcOffset
specify the CUDA array handle and starting offset in bytes of the source data. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyAtoH_v2(uint[] dstHost, CUarray srcArray, SizeT srcOffset, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
System.UInt32[] | dstHost | Destination device pointer |
CUarray | srcArray | Source array |
SizeT | srcOffset | Offset in bytes of source array |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyAtoH_v2(UInt64[], CUarray, SizeT, SizeT)
Copies from one 1D CUDA array to host memory. dstHost
specifies the base pointer of the destination. srcArray
and srcOffset
specify the CUDA array handle and starting offset in bytes of the source data. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyAtoH_v2(ulong[] dstHost, CUarray srcArray, SizeT srcOffset, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
System.UInt64[] | dstHost | Destination device pointer |
CUarray | srcArray | Source array |
SizeT | srcOffset | Offset in bytes of source array |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoA_v2(CUarray, SizeT, CUdeviceptr, SizeT)
Copies from device memory to a 1D CUDA array. dstArray
and dstOffset
specify the CUDA array handle and
starting index of the destination data. srcDevice
specifies the base pointer of the source. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyDtoA_v2(CUarray dstArray, SizeT dstOffset, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUarray | dstArray | Destination array |
SizeT | dstOffset | Offset in bytes of destination array |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoD_v2(CUdeviceptr, CUdeviceptr, SizeT)
Copies from device memory to device memory. dstDevice
and srcDevice
are the base pointers of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is asynchronous.
Declaration
public static CUResult cuMemcpyDtoD_v2(CUdeviceptr dstDevice, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(ref char1, CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(ref char1 dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
char1 | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(char1[], CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(char1[] dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
char1[] | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(ref char2, CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(ref char2 dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
char2 | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(char2[], CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(char2[] dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
char2[] | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(ref char3, CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(ref char3 dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
char3 | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(char3[], CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(char3[] dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
char3[] | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(ref char4, CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(ref char4 dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
char4 | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(char4[], CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(char4[] dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
char4[] | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(ref cuDoubleComplex, CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(ref cuDoubleComplex dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
cuDoubleComplex | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(cuDoubleComplex[], CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(cuDoubleComplex[] dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
cuDoubleComplex[] | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(ref cuDoubleReal, CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(ref cuDoubleReal dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
cuDoubleReal | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(cuDoubleReal[], CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(cuDoubleReal[] dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
cuDoubleReal[] | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(ref cuFloatComplex, CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(ref cuFloatComplex dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
cuFloatComplex | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(cuFloatComplex[], CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(cuFloatComplex[] dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
cuFloatComplex[] | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(ref cuFloatReal, CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(ref cuFloatReal dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
cuFloatReal | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(cuFloatReal[], CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(cuFloatReal[] dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
cuFloatReal[] | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(ref dim3, CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(ref dim3 dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
dim3 | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(dim3[], CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(dim3[] dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
dim3[] | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(ref double1, CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(ref double1 dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
double1 | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(double1[], CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(double1[] dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
double1[] | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(ref double2, CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(ref double2 dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
double2 | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(double2[], CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(double2[] dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
double2[] | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(ref float1, CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(ref float1 dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
float1 | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(float1[], CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(float1[] dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
float1[] | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(ref float2, CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(ref float2 dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
float2 | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(float2[], CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(float2[] dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
float2[] | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(ref float3, CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(ref float3 dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
float3 | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(float3[], CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(float3[] dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
float3[] | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(ref float4, CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(ref float4 dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
float4 | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(float4[], CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(float4[] dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
float4[] | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(ref int1, CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(ref int1 dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
int1 | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(int1[], CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(int1[] dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
int1[] | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(ref int2, CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(ref int2 dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
int2 | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(int2[], CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(int2[] dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
int2[] | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(ref int3, CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(ref int3 dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
int3 | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(int3[], CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(int3[] dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
int3[] | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(ref int4, CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(ref int4 dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
int4 | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(int4[], CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(int4[] dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
int4[] | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(ref long1, CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(ref long1 dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
long1 | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(long1[], CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(long1[] dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
long1[] | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(ref long2, CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(ref long2 dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
long2 | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(long2[], CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(long2[] dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
long2[] | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(ref long3, CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(ref long3 dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
long3 | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(long3[], CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(long3[] dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
long3[] | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(ref long4, CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(ref long4 dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
long4 | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(long4[], CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(long4[] dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
long4[] | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(ref short1, CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(ref short1 dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
short1 | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(short1[], CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(short1[] dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
short1[] | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(ref short2, CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(ref short2 dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
short2 | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(short2[], CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(short2[] dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
short2[] | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(ref short3, CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(ref short3 dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
short3 | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(short3[], CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(short3[] dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
short3[] | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(ref short4, CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(ref short4 dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
short4 | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(short4[], CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(short4[] dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
short4[] | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(ref uchar1, CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(ref uchar1 dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
uchar1 | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(uchar1[], CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(uchar1[] dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
uchar1[] | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(ref uchar2, CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(ref uchar2 dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
uchar2 | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(uchar2[], CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(uchar2[] dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
uchar2[] | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(ref uchar3, CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(ref uchar3 dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
uchar3 | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(uchar3[], CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(uchar3[] dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
uchar3[] | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(ref uchar4, CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(ref uchar4 dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
uchar4 | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(uchar4[], CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(uchar4[] dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
uchar4[] | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(ref uint1, CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(ref uint1 dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
uint1 | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(uint1[], CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(uint1[] dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
uint1[] | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(ref uint2, CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(ref uint2 dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
uint2 | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(uint2[], CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(uint2[] dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
uint2[] | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(ref uint3, CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(ref uint3 dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
uint3 | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(uint3[], CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(uint3[] dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
uint3[] | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(ref uint4, CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(ref uint4 dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
uint4 | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(uint4[], CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(uint4[] dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
uint4[] | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(ref ulong1, CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(ref ulong1 dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
ulong1 | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(ulong1[], CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(ulong1[] dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
ulong1[] | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(ref ulong2, CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(ref ulong2 dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
ulong2 | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(ulong2[], CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(ulong2[] dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
ulong2[] | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(ref ulong3, CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(ref ulong3 dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
ulong3 | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(ulong3[], CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(ulong3[] dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
ulong3[] | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(ref ulong4, CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(ref ulong4 dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
ulong4 | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(ulong4[], CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(ulong4[] dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
ulong4[] | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(ref ushort1, CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(ref ushort1 dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
ushort1 | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(ushort1[], CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(ushort1[] dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
ushort1[] | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(ref ushort2, CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(ref ushort2 dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
ushort2 | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(ushort2[], CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(ushort2[] dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
ushort2[] | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(ref ushort3, CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(ref ushort3 dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
ushort3 | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(ushort3[], CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(ushort3[] dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
ushort3[] | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(ref ushort4, CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(ref ushort4 dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
ushort4 | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(ushort4[], CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(ushort4[] dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
ushort4[] | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(ref Byte, CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(ref byte dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
System.Byte | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(Byte[], CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(byte[] dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(ref Double, CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(ref double dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
System.Double | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(Double[], CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(double[] dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
System.Double[] | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(ref Int16, CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(ref short dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
System.Int16 | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(Int16[], CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(short[] dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
System.Int16[] | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(ref Int32, CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(ref int dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(Int32[], CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(int[] dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
System.Int32[] | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(ref Int64, CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(ref long dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(Int64[], CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(long[] dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
System.Int64[] | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(IntPtr, CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(IntPtr dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(ref SByte, CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(ref sbyte dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
System.SByte | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(SByte[], CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(sbyte[] dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
System.SByte[] | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(ref Single, CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(ref float dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
System.Single | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(Single[], CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(float[] dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
System.Single[] | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(ref UInt16, CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(ref ushort dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
System.UInt16 | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(UInt16[], CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(ushort[] dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
System.UInt16[] | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(ref UInt32, CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(ref uint dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
System.UInt32 | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(UInt32[], CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(uint[] dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
System.UInt32[] | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(ref UInt64, CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(ref ulong dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
System.UInt64 | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyDtoH_v2(UInt64[], CUdeviceptr, SizeT)
Copies from device to host memory. dstHost
and srcDevice
specify the base pointers of the destination and
source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyDtoH_v2(ulong[] dstHost, CUdeviceptr srcDevice, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
System.UInt64[] | dstHost | Destination host pointer |
CUdeviceptr | srcDevice | Source device pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoA_v2(CUarray, SizeT, char1[], SizeT)
Copies from host memory to a 1D CUDA array. dstArray
and dstOffset
specify the CUDA array handle and
starting offset in bytes of the destination data. pSrc
specifies the base address of the source. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyHtoA_v2(CUarray dstArray, SizeT dstOffset, char1[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUarray | dstArray | Destination array |
SizeT | dstOffset | Offset in bytes of destination array |
char1[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoA_v2(CUarray, SizeT, char2[], SizeT)
Copies from host memory to a 1D CUDA array. dstArray
and dstOffset
specify the CUDA array handle and
starting offset in bytes of the destination data. pSrc
specifies the base address of the source. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyHtoA_v2(CUarray dstArray, SizeT dstOffset, char2[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUarray | dstArray | Destination array |
SizeT | dstOffset | Offset in bytes of destination array |
char2[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoA_v2(CUarray, SizeT, char3[], SizeT)
Copies from host memory to a 1D CUDA array. dstArray
and dstOffset
specify the CUDA array handle and
starting offset in bytes of the destination data. pSrc
specifies the base address of the source. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyHtoA_v2(CUarray dstArray, SizeT dstOffset, char3[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUarray | dstArray | Destination array |
SizeT | dstOffset | Offset in bytes of destination array |
char3[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoA_v2(CUarray, SizeT, char4[], SizeT)
Copies from host memory to a 1D CUDA array. dstArray
and dstOffset
specify the CUDA array handle and
starting offset in bytes of the destination data. pSrc
specifies the base address of the source. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyHtoA_v2(CUarray dstArray, SizeT dstOffset, char4[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUarray | dstArray | Destination array |
SizeT | dstOffset | Offset in bytes of destination array |
char4[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoA_v2(CUarray, SizeT, cuDoubleComplex[], SizeT)
Copies from host memory to a 1D CUDA array. dstArray
and dstOffset
specify the CUDA array handle and
starting offset in bytes of the destination data. pSrc
specifies the base address of the source. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyHtoA_v2(CUarray dstArray, SizeT dstOffset, cuDoubleComplex[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUarray | dstArray | Destination array |
SizeT | dstOffset | Offset in bytes of destination array |
cuDoubleComplex[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoA_v2(CUarray, SizeT, cuDoubleReal[], SizeT)
Copies from host memory to a 1D CUDA array. dstArray
and dstOffset
specify the CUDA array handle and
starting offset in bytes of the destination data. pSrc
specifies the base address of the source. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyHtoA_v2(CUarray dstArray, SizeT dstOffset, cuDoubleReal[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUarray | dstArray | Destination array |
SizeT | dstOffset | Offset in bytes of destination array |
cuDoubleReal[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoA_v2(CUarray, SizeT, cuFloatComplex[], SizeT)
Copies from host memory to a 1D CUDA array. dstArray
and dstOffset
specify the CUDA array handle and
starting offset in bytes of the destination data. pSrc
specifies the base address of the source. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyHtoA_v2(CUarray dstArray, SizeT dstOffset, cuFloatComplex[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUarray | dstArray | Destination array |
SizeT | dstOffset | Offset in bytes of destination array |
cuFloatComplex[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoA_v2(CUarray, SizeT, cuFloatReal[], SizeT)
Copies from host memory to a 1D CUDA array. dstArray
and dstOffset
specify the CUDA array handle and
starting offset in bytes of the destination data. pSrc
specifies the base address of the source. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyHtoA_v2(CUarray dstArray, SizeT dstOffset, cuFloatReal[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUarray | dstArray | Destination array |
SizeT | dstOffset | Offset in bytes of destination array |
cuFloatReal[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoA_v2(CUarray, SizeT, dim3[], SizeT)
Copies from host memory to a 1D CUDA array. dstArray
and dstOffset
specify the CUDA array handle and
starting offset in bytes of the destination data. pSrc
specifies the base address of the source. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyHtoA_v2(CUarray dstArray, SizeT dstOffset, dim3[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUarray | dstArray | Destination array |
SizeT | dstOffset | Offset in bytes of destination array |
dim3[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoA_v2(CUarray, SizeT, double1[], SizeT)
Copies from host memory to a 1D CUDA array. dstArray
and dstOffset
specify the CUDA array handle and
starting offset in bytes of the destination data. pSrc
specifies the base address of the source. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyHtoA_v2(CUarray dstArray, SizeT dstOffset, double1[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUarray | dstArray | Destination array |
SizeT | dstOffset | Offset in bytes of destination array |
double1[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoA_v2(CUarray, SizeT, double2[], SizeT)
Copies from host memory to a 1D CUDA array. dstArray
and dstOffset
specify the CUDA array handle and
starting offset in bytes of the destination data. pSrc
specifies the base address of the source. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyHtoA_v2(CUarray dstArray, SizeT dstOffset, double2[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUarray | dstArray | Destination array |
SizeT | dstOffset | Offset in bytes of destination array |
double2[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoA_v2(CUarray, SizeT, float1[], SizeT)
Copies from host memory to a 1D CUDA array. dstArray
and dstOffset
specify the CUDA array handle and
starting offset in bytes of the destination data. pSrc
specifies the base address of the source. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyHtoA_v2(CUarray dstArray, SizeT dstOffset, float1[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUarray | dstArray | Destination array |
SizeT | dstOffset | Offset in bytes of destination array |
float1[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoA_v2(CUarray, SizeT, float2[], SizeT)
Copies from host memory to a 1D CUDA array. dstArray
and dstOffset
specify the CUDA array handle and
starting offset in bytes of the destination data. pSrc
specifies the base address of the source. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyHtoA_v2(CUarray dstArray, SizeT dstOffset, float2[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUarray | dstArray | Destination array |
SizeT | dstOffset | Offset in bytes of destination array |
float2[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoA_v2(CUarray, SizeT, float3[], SizeT)
Copies from host memory to a 1D CUDA array. dstArray
and dstOffset
specify the CUDA array handle and
starting offset in bytes of the destination data. pSrc
specifies the base address of the source. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyHtoA_v2(CUarray dstArray, SizeT dstOffset, float3[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUarray | dstArray | Destination array |
SizeT | dstOffset | Offset in bytes of destination array |
float3[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoA_v2(CUarray, SizeT, float4[], SizeT)
Copies from host memory to a 1D CUDA array. dstArray
and dstOffset
specify the CUDA array handle and
starting offset in bytes of the destination data. pSrc
specifies the base address of the source. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyHtoA_v2(CUarray dstArray, SizeT dstOffset, float4[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUarray | dstArray | Destination array |
SizeT | dstOffset | Offset in bytes of destination array |
float4[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoA_v2(CUarray, SizeT, int1[], SizeT)
Copies from host memory to a 1D CUDA array. dstArray
and dstOffset
specify the CUDA array handle and
starting offset in bytes of the destination data. pSrc
specifies the base address of the source. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyHtoA_v2(CUarray dstArray, SizeT dstOffset, int1[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUarray | dstArray | Destination array |
SizeT | dstOffset | Offset in bytes of destination array |
int1[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoA_v2(CUarray, SizeT, int2[], SizeT)
Copies from host memory to a 1D CUDA array. dstArray
and dstOffset
specify the CUDA array handle and
starting offset in bytes of the destination data. pSrc
specifies the base address of the source. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyHtoA_v2(CUarray dstArray, SizeT dstOffset, int2[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUarray | dstArray | Destination array |
SizeT | dstOffset | Offset in bytes of destination array |
int2[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoA_v2(CUarray, SizeT, int3[], SizeT)
Copies from host memory to a 1D CUDA array. dstArray
and dstOffset
specify the CUDA array handle and
starting offset in bytes of the destination data. pSrc
specifies the base address of the source. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyHtoA_v2(CUarray dstArray, SizeT dstOffset, int3[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUarray | dstArray | Destination array |
SizeT | dstOffset | Offset in bytes of destination array |
int3[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoA_v2(CUarray, SizeT, int4[], SizeT)
Copies from host memory to a 1D CUDA array. dstArray
and dstOffset
specify the CUDA array handle and
starting offset in bytes of the destination data. pSrc
specifies the base address of the source. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyHtoA_v2(CUarray dstArray, SizeT dstOffset, int4[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUarray | dstArray | Destination array |
SizeT | dstOffset | Offset in bytes of destination array |
int4[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoA_v2(CUarray, SizeT, long1[], SizeT)
Copies from host memory to a 1D CUDA array. dstArray
and dstOffset
specify the CUDA array handle and
starting offset in bytes of the destination data. pSrc
specifies the base address of the source. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyHtoA_v2(CUarray dstArray, SizeT dstOffset, long1[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUarray | dstArray | Destination array |
SizeT | dstOffset | Offset in bytes of destination array |
long1[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoA_v2(CUarray, SizeT, long2[], SizeT)
Copies from host memory to a 1D CUDA array. dstArray
and dstOffset
specify the CUDA array handle and
starting offset in bytes of the destination data. pSrc
specifies the base address of the source. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyHtoA_v2(CUarray dstArray, SizeT dstOffset, long2[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUarray | dstArray | Destination array |
SizeT | dstOffset | Offset in bytes of destination array |
long2[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoA_v2(CUarray, SizeT, long3[], SizeT)
Copies from host memory to a 1D CUDA array. dstArray
and dstOffset
specify the CUDA array handle and
starting offset in bytes of the destination data. pSrc
specifies the base address of the source. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyHtoA_v2(CUarray dstArray, SizeT dstOffset, long3[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUarray | dstArray | Destination array |
SizeT | dstOffset | Offset in bytes of destination array |
long3[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoA_v2(CUarray, SizeT, long4[], SizeT)
Copies from host memory to a 1D CUDA array. dstArray
and dstOffset
specify the CUDA array handle and
starting offset in bytes of the destination data. pSrc
specifies the base address of the source. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyHtoA_v2(CUarray dstArray, SizeT dstOffset, long4[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUarray | dstArray | Destination array |
SizeT | dstOffset | Offset in bytes of destination array |
long4[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoA_v2(CUarray, SizeT, short1[], SizeT)
Copies from host memory to a 1D CUDA array. dstArray
and dstOffset
specify the CUDA array handle and
starting offset in bytes of the destination data. pSrc
specifies the base address of the source. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyHtoA_v2(CUarray dstArray, SizeT dstOffset, short1[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUarray | dstArray | Destination array |
SizeT | dstOffset | Offset in bytes of destination array |
short1[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoA_v2(CUarray, SizeT, short2[], SizeT)
Copies from host memory to a 1D CUDA array. dstArray
and dstOffset
specify the CUDA array handle and
starting offset in bytes of the destination data. pSrc
specifies the base address of the source. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyHtoA_v2(CUarray dstArray, SizeT dstOffset, short2[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUarray | dstArray | Destination array |
SizeT | dstOffset | Offset in bytes of destination array |
short2[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoA_v2(CUarray, SizeT, short3[], SizeT)
Copies from host memory to a 1D CUDA array. dstArray
and dstOffset
specify the CUDA array handle and
starting offset in bytes of the destination data. pSrc
specifies the base address of the source. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyHtoA_v2(CUarray dstArray, SizeT dstOffset, short3[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUarray | dstArray | Destination array |
SizeT | dstOffset | Offset in bytes of destination array |
short3[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoA_v2(CUarray, SizeT, short4[], SizeT)
Copies from host memory to a 1D CUDA array. dstArray
and dstOffset
specify the CUDA array handle and
starting offset in bytes of the destination data. pSrc
specifies the base address of the source. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyHtoA_v2(CUarray dstArray, SizeT dstOffset, short4[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUarray | dstArray | Destination array |
SizeT | dstOffset | Offset in bytes of destination array |
short4[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoA_v2(CUarray, SizeT, uchar1[], SizeT)
Copies from host memory to a 1D CUDA array. dstArray
and dstOffset
specify the CUDA array handle and
starting offset in bytes of the destination data. pSrc
specifies the base address of the source. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyHtoA_v2(CUarray dstArray, SizeT dstOffset, uchar1[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUarray | dstArray | Destination array |
SizeT | dstOffset | Offset in bytes of destination array |
uchar1[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoA_v2(CUarray, SizeT, uchar2[], SizeT)
Copies from host memory to a 1D CUDA array. dstArray
and dstOffset
specify the CUDA array handle and
starting offset in bytes of the destination data. pSrc
specifies the base address of the source. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyHtoA_v2(CUarray dstArray, SizeT dstOffset, uchar2[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUarray | dstArray | Destination array |
SizeT | dstOffset | Offset in bytes of destination array |
uchar2[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoA_v2(CUarray, SizeT, uchar3[], SizeT)
Copies from host memory to a 1D CUDA array. dstArray
and dstOffset
specify the CUDA array handle and
starting offset in bytes of the destination data. pSrc
specifies the base address of the source. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyHtoA_v2(CUarray dstArray, SizeT dstOffset, uchar3[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUarray | dstArray | Destination array |
SizeT | dstOffset | Offset in bytes of destination array |
uchar3[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoA_v2(CUarray, SizeT, uchar4[], SizeT)
Copies from host memory to a 1D CUDA array. dstArray
and dstOffset
specify the CUDA array handle and
starting offset in bytes of the destination data. pSrc
specifies the base address of the source. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyHtoA_v2(CUarray dstArray, SizeT dstOffset, uchar4[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUarray | dstArray | Destination array |
SizeT | dstOffset | Offset in bytes of destination array |
uchar4[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoA_v2(CUarray, SizeT, uint1[], SizeT)
Copies from host memory to a 1D CUDA array. dstArray
and dstOffset
specify the CUDA array handle and
starting offset in bytes of the destination data. pSrc
specifies the base address of the source. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyHtoA_v2(CUarray dstArray, SizeT dstOffset, uint1[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUarray | dstArray | Destination array |
SizeT | dstOffset | Offset in bytes of destination array |
uint1[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoA_v2(CUarray, SizeT, uint2[], SizeT)
Copies from host memory to a 1D CUDA array. dstArray
and dstOffset
specify the CUDA array handle and
starting offset in bytes of the destination data. pSrc
specifies the base address of the source. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyHtoA_v2(CUarray dstArray, SizeT dstOffset, uint2[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUarray | dstArray | Destination array |
SizeT | dstOffset | Offset in bytes of destination array |
uint2[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoA_v2(CUarray, SizeT, uint3[], SizeT)
Copies from host memory to a 1D CUDA array. dstArray
and dstOffset
specify the CUDA array handle and
starting offset in bytes of the destination data. pSrc
specifies the base address of the source. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyHtoA_v2(CUarray dstArray, SizeT dstOffset, uint3[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUarray | dstArray | Destination array |
SizeT | dstOffset | Offset in bytes of destination array |
uint3[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoA_v2(CUarray, SizeT, uint4[], SizeT)
Copies from host memory to a 1D CUDA array. dstArray
and dstOffset
specify the CUDA array handle and
starting offset in bytes of the destination data. pSrc
specifies the base address of the source. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyHtoA_v2(CUarray dstArray, SizeT dstOffset, uint4[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUarray | dstArray | Destination array |
SizeT | dstOffset | Offset in bytes of destination array |
uint4[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoA_v2(CUarray, SizeT, ulong1[], SizeT)
Copies from host memory to a 1D CUDA array. dstArray
and dstOffset
specify the CUDA array handle and
starting offset in bytes of the destination data. pSrc
specifies the base address of the source. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyHtoA_v2(CUarray dstArray, SizeT dstOffset, ulong1[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUarray | dstArray | Destination array |
SizeT | dstOffset | Offset in bytes of destination array |
ulong1[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoA_v2(CUarray, SizeT, ulong2[], SizeT)
Copies from host memory to a 1D CUDA array. dstArray
and dstOffset
specify the CUDA array handle and
starting offset in bytes of the destination data. pSrc
specifies the base address of the source. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyHtoA_v2(CUarray dstArray, SizeT dstOffset, ulong2[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUarray | dstArray | Destination array |
SizeT | dstOffset | Offset in bytes of destination array |
ulong2[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoA_v2(CUarray, SizeT, ulong3[], SizeT)
Copies from host memory to a 1D CUDA array. dstArray
and dstOffset
specify the CUDA array handle and
starting offset in bytes of the destination data. pSrc
specifies the base address of the source. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyHtoA_v2(CUarray dstArray, SizeT dstOffset, ulong3[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUarray | dstArray | Destination array |
SizeT | dstOffset | Offset in bytes of destination array |
ulong3[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoA_v2(CUarray, SizeT, ulong4[], SizeT)
Copies from host memory to a 1D CUDA array. dstArray
and dstOffset
specify the CUDA array handle and
starting offset in bytes of the destination data. pSrc
specifies the base address of the source. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyHtoA_v2(CUarray dstArray, SizeT dstOffset, ulong4[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUarray | dstArray | Destination array |
SizeT | dstOffset | Offset in bytes of destination array |
ulong4[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoA_v2(CUarray, SizeT, ushort1[], SizeT)
Copies from host memory to a 1D CUDA array. dstArray
and dstOffset
specify the CUDA array handle and
starting offset in bytes of the destination data. pSrc
specifies the base address of the source. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyHtoA_v2(CUarray dstArray, SizeT dstOffset, ushort1[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUarray | dstArray | Destination array |
SizeT | dstOffset | Offset in bytes of destination array |
ushort1[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoA_v2(CUarray, SizeT, ushort2[], SizeT)
Copies from host memory to a 1D CUDA array. dstArray
and dstOffset
specify the CUDA array handle and
starting offset in bytes of the destination data. pSrc
specifies the base address of the source. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyHtoA_v2(CUarray dstArray, SizeT dstOffset, ushort2[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUarray | dstArray | Destination array |
SizeT | dstOffset | Offset in bytes of destination array |
ushort2[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoA_v2(CUarray, SizeT, ushort3[], SizeT)
Copies from host memory to a 1D CUDA array. dstArray
and dstOffset
specify the CUDA array handle and
starting offset in bytes of the destination data. pSrc
specifies the base address of the source. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyHtoA_v2(CUarray dstArray, SizeT dstOffset, ushort3[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUarray | dstArray | Destination array |
SizeT | dstOffset | Offset in bytes of destination array |
ushort3[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoA_v2(CUarray, SizeT, ushort4[], SizeT)
Copies from host memory to a 1D CUDA array. dstArray
and dstOffset
specify the CUDA array handle and
starting offset in bytes of the destination data. pSrc
specifies the base address of the source. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyHtoA_v2(CUarray dstArray, SizeT dstOffset, ushort4[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUarray | dstArray | Destination array |
SizeT | dstOffset | Offset in bytes of destination array |
ushort4[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoA_v2(CUarray, SizeT, Byte[], SizeT)
Copies from host memory to a 1D CUDA array. dstArray
and dstOffset
specify the CUDA array handle and
starting offset in bytes of the destination data. pSrc
specifies the base address of the source. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyHtoA_v2(CUarray dstArray, SizeT dstOffset, byte[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUarray | dstArray | Destination array |
SizeT | dstOffset | Offset in bytes of destination array |
System.Byte[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoA_v2(CUarray, SizeT, Double[], SizeT)
Copies from host memory to a 1D CUDA array. dstArray
and dstOffset
specify the CUDA array handle and
starting offset in bytes of the destination data. pSrc
specifies the base address of the source. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyHtoA_v2(CUarray dstArray, SizeT dstOffset, double[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUarray | dstArray | Destination array |
SizeT | dstOffset | Offset in bytes of destination array |
System.Double[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoA_v2(CUarray, SizeT, Int16[], SizeT)
Copies from host memory to a 1D CUDA array. dstArray
and dstOffset
specify the CUDA array handle and
starting offset in bytes of the destination data. pSrc
specifies the base address of the source. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyHtoA_v2(CUarray dstArray, SizeT dstOffset, short[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUarray | dstArray | Destination array |
SizeT | dstOffset | Offset in bytes of destination array |
System.Int16[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoA_v2(CUarray, SizeT, Int32[], SizeT)
Copies from host memory to a 1D CUDA array. dstArray
and dstOffset
specify the CUDA array handle and
starting offset in bytes of the destination data. pSrc
specifies the base address of the source. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyHtoA_v2(CUarray dstArray, SizeT dstOffset, int[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUarray | dstArray | Destination array |
SizeT | dstOffset | Offset in bytes of destination array |
System.Int32[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoA_v2(CUarray, SizeT, Int64[], SizeT)
Copies from host memory to a 1D CUDA array. dstArray
and dstOffset
specify the CUDA array handle and
starting offset in bytes of the destination data. pSrc
specifies the base address of the source. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyHtoA_v2(CUarray dstArray, SizeT dstOffset, long[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUarray | dstArray | Destination array |
SizeT | dstOffset | Offset in bytes of destination array |
System.Int64[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoA_v2(CUarray, SizeT, IntPtr, SizeT)
Copies from host memory to a 1D CUDA array. dstArray
and dstOffset
specify the CUDA array handle and
starting offset in bytes of the destination data. pSrc
specifies the base address of the source. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyHtoA_v2(CUarray dstArray, SizeT dstOffset, IntPtr srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUarray | dstArray | Destination array |
SizeT | dstOffset | Offset in bytes of destination array |
System.IntPtr | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoA_v2(CUarray, SizeT, SByte[], SizeT)
Copies from host memory to a 1D CUDA array. dstArray
and dstOffset
specify the CUDA array handle and
starting offset in bytes of the destination data. pSrc
specifies the base address of the source. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyHtoA_v2(CUarray dstArray, SizeT dstOffset, sbyte[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUarray | dstArray | Destination array |
SizeT | dstOffset | Offset in bytes of destination array |
System.SByte[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoA_v2(CUarray, SizeT, Single[], SizeT)
Copies from host memory to a 1D CUDA array. dstArray
and dstOffset
specify the CUDA array handle and
starting offset in bytes of the destination data. pSrc
specifies the base address of the source. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyHtoA_v2(CUarray dstArray, SizeT dstOffset, float[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUarray | dstArray | Destination array |
SizeT | dstOffset | Offset in bytes of destination array |
System.Single[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoA_v2(CUarray, SizeT, UInt16[], SizeT)
Copies from host memory to a 1D CUDA array. dstArray
and dstOffset
specify the CUDA array handle and
starting offset in bytes of the destination data. pSrc
specifies the base address of the source. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyHtoA_v2(CUarray dstArray, SizeT dstOffset, ushort[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUarray | dstArray | Destination array |
SizeT | dstOffset | Offset in bytes of destination array |
System.UInt16[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoA_v2(CUarray, SizeT, UInt32[], SizeT)
Copies from host memory to a 1D CUDA array. dstArray
and dstOffset
specify the CUDA array handle and
starting offset in bytes of the destination data. pSrc
specifies the base address of the source. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyHtoA_v2(CUarray dstArray, SizeT dstOffset, uint[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUarray | dstArray | Destination array |
SizeT | dstOffset | Offset in bytes of destination array |
System.UInt32[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoA_v2(CUarray, SizeT, UInt64[], SizeT)
Copies from host memory to a 1D CUDA array. dstArray
and dstOffset
specify the CUDA array handle and
starting offset in bytes of the destination data. pSrc
specifies the base address of the source. ByteCount
specifies
the number of bytes to copy.
Declaration
public static CUResult cuMemcpyHtoA_v2(CUarray dstArray, SizeT dstOffset, ulong[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUarray | dstArray | Destination array |
SizeT | dstOffset | Offset in bytes of destination array |
System.UInt64[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, ref char1, SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, ref char1 srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
char1 | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, char1[], SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, char1[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
char1[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, ref char2, SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, ref char2 srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
char2 | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, char2[], SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, char2[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
char2[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, ref char3, SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, ref char3 srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
char3 | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, char3[], SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, char3[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
char3[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, ref char4, SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, ref char4 srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
char4 | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, char4[], SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, char4[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
char4[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, ref cuDoubleComplex, SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, ref cuDoubleComplex srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
cuDoubleComplex | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, cuDoubleComplex[], SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, cuDoubleComplex[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
cuDoubleComplex[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, ref cuDoubleReal, SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, ref cuDoubleReal srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
cuDoubleReal | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, cuDoubleReal[], SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, cuDoubleReal[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
cuDoubleReal[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, ref cuFloatComplex, SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, ref cuFloatComplex srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
cuFloatComplex | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, cuFloatComplex[], SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, cuFloatComplex[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
cuFloatComplex[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, ref cuFloatReal, SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, ref cuFloatReal srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
cuFloatReal | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, cuFloatReal[], SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, cuFloatReal[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
cuFloatReal[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, ref dim3, SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, ref dim3 srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
dim3 | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, dim3[], SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, dim3[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
dim3[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, ref double1, SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, ref double1 srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
double1 | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, double1[], SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, double1[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
double1[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, ref double2, SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, ref double2 srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
double2 | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, double2[], SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, double2[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
double2[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, ref float1, SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, ref float1 srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
float1 | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, float1[], SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, float1[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
float1[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, ref float2, SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, ref float2 srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
float2 | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, float2[], SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, float2[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
float2[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, ref float3, SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, ref float3 srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
float3 | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, float3[], SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, float3[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
float3[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, ref float4, SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, ref float4 srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
float4 | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, float4[], SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, float4[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
float4[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, ref int1, SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, ref int1 srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
int1 | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, int1[], SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, int1[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
int1[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, ref int2, SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, ref int2 srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
int2 | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, int2[], SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, int2[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
int2[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, ref int3, SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, ref int3 srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
int3 | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, int3[], SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, int3[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
int3[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, ref int4, SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, ref int4 srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
int4 | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, int4[], SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, int4[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
int4[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, ref long1, SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, ref long1 srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
long1 | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, long1[], SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, long1[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
long1[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, ref long2, SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, ref long2 srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
long2 | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, long2[], SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, long2[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
long2[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, ref long3, SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, ref long3 srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
long3 | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, long3[], SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, long3[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
long3[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, ref long4, SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, ref long4 srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
long4 | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, long4[], SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, long4[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
long4[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, ref short1, SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, ref short1 srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
short1 | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, short1[], SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, short1[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
short1[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, ref short2, SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, ref short2 srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
short2 | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, short2[], SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, short2[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
short2[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, ref short3, SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, ref short3 srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
short3 | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, short3[], SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, short3[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
short3[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, ref short4, SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, ref short4 srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
short4 | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, short4[], SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, short4[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
short4[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, ref uchar1, SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, ref uchar1 srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
uchar1 | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, uchar1[], SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, uchar1[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
uchar1[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, ref uchar2, SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, ref uchar2 srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
uchar2 | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, uchar2[], SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, uchar2[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
uchar2[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, ref uchar3, SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, ref uchar3 srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
uchar3 | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, uchar3[], SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, uchar3[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
uchar3[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, ref uchar4, SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, ref uchar4 srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
uchar4 | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, uchar4[], SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, uchar4[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
uchar4[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, ref uint1, SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, ref uint1 srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
uint1 | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, uint1[], SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, uint1[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
uint1[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, ref uint2, SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, ref uint2 srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
uint2 | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, uint2[], SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, uint2[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
uint2[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, ref uint3, SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, ref uint3 srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
uint3 | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, uint3[], SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, uint3[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
uint3[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, ref uint4, SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, ref uint4 srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
uint4 | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, uint4[], SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, uint4[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
uint4[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, ref ulong1, SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, ref ulong1 srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
ulong1 | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, ulong1[], SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, ulong1[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
ulong1[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, ref ulong2, SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, ref ulong2 srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
ulong2 | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, ulong2[], SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, ulong2[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
ulong2[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, ref ulong3, SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, ref ulong3 srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
ulong3 | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, ulong3[], SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, ulong3[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
ulong3[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, ref ulong4, SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, ref ulong4 srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
ulong4 | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, ulong4[], SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, ulong4[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
ulong4[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, ref ushort1, SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, ref ushort1 srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
ushort1 | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, ushort1[], SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, ushort1[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
ushort1[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, ref ushort2, SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, ref ushort2 srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
ushort2 | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, ushort2[], SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, ushort2[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
ushort2[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, ref ushort3, SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, ref ushort3 srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
ushort3 | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, ushort3[], SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, ushort3[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
ushort3[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, ref ushort4, SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, ref ushort4 srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
ushort4 | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, ushort4[], SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, ushort4[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
ushort4[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, ref Byte, SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, ref byte srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
System.Byte | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, Byte[], SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, byte[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
System.Byte[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, ref Double, SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, ref double srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
System.Double | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, Double[], SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, double[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
System.Double[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, ref Int16, SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, ref short srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
System.Int16 | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, Int16[], SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, short[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
System.Int16[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, ref Int32, SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, ref int srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
System.Int32 | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, Int32[], SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, int[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
System.Int32[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, ref Int64, SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, ref long srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
System.Int64 | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, Int64[], SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, long[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
System.Int64[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, IntPtr, SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, IntPtr srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
System.IntPtr | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, ref SByte, SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, ref sbyte srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
System.SByte | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, SByte[], SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, sbyte[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
System.SByte[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, ref Single, SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, ref float srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
System.Single | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, Single[], SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, float[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
System.Single[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, ref UInt16, SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, ref ushort srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
System.UInt16 | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, UInt16[], SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, ushort[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
System.UInt16[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, ref UInt32, SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, ref uint srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
System.UInt32 | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, UInt32[], SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, uint[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
System.UInt32[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, ref UInt64, SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, ref ulong srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
System.UInt64 | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyHtoD_v2(CUdeviceptr, UInt64[], SizeT)
Copies from host memory to device memory. dstDevice
and srcHost
are the base addresses of the destination
and source, respectively. ByteCount
specifies the number of bytes to copy. Note that this function is synchronous.
Declaration
public static CUResult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, ulong[] srcHost, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
System.UInt64[] | srcHost | Source host pointer |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|
cuMemcpyPeer(CUdeviceptr, CUcontext, CUdeviceptr, CUcontext, SizeT)
Copies from device memory in one context to device memory in another
context. dstDevice
is the base device pointer of the destination memory
and dstContext
is the destination context. srcDevice
is the base
device pointer of the source memory and srcContext
is the source pointer.
ByteCount
specifies the number of bytes to copy.
Note that this function is asynchronous with respect to the host, but
serialized with respect all pending and future asynchronous work in to the
current context, srcContext
, and dstContext
(use cuMemcpyPeerAsync(CUdeviceptr, CUcontext, CUdeviceptr, CUcontext, SizeT, CUstream)
to avoid this synchronization).
Declaration
public static CUResult cuMemcpyPeer(CUdeviceptr dstDevice, CUcontext dstContext, CUdeviceptr srcDevice, CUcontext srcContext, SizeT ByteCount)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | dstDevice | Destination device pointer |
CUcontext | dstContext | Destination context |
CUdeviceptr | srcDevice | Source device pointer |
CUcontext | srcContext | Source context |
SizeT | ByteCount | Size of memory copy in bytes |
Returns
Type | Description |
---|---|
CUResult | CUDA Error Codes: Success, ErrorDeinitialized, ErrorNotInitialized,
ErrorInvalidContext, ErrorInvalidValue.
|