Copies data on host.

Namespace: Cudafy.Host
Assembly: Cudafy.Host (in Cudafy.Host.dll) Version: 1.0.4106.20172

Syntax

C#
public static void CopyOnHost<T>(
	IntPtr hostAllocatedMemory,
	int srcOffset,
	T[] nativeHostArrayDst,
	int destOffset,
	int count
)
Visual Basic
Public Shared Sub CopyOnHost(Of T) ( _
	hostAllocatedMemory As IntPtr, _
	srcOffset As Integer, _
	nativeHostArrayDst As T(), _
	destOffset As Integer, _
	count As Integer _
)
Visual C++
public:
generic<typename T>
static void CopyOnHost(
	IntPtr hostAllocatedMemory, 
	int srcOffset, 
	array<T>^ nativeHostArrayDst, 
	int destOffset, 
	int count
)

Parameters

hostAllocatedMemory
Type: System..::..IntPtr
The source host allocated memory.
srcOffset
Type: System..::..Int32
The source offset.
nativeHostArrayDst
Type: array<T>[]()[][]
The destination native host array.
destOffset
Type: System..::..Int32
The destination offset.
count
Type: System..::..Int32
The number of elements.

Type Parameters

T
Blittable type.

See Also