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>(
	T[] nativeHostArraySrc,
	int srcOffset,
	IntPtr hostAllocatedMemory,
	int destOffset,
	int count
)
Visual Basic
Public Shared Sub CopyOnHost(Of T) ( _
	nativeHostArraySrc As T(), _
	srcOffset As Integer, _
	hostAllocatedMemory As IntPtr, _
	destOffset As Integer, _
	count As Integer _
)
Visual C++
public:
generic<typename T>
static void CopyOnHost(
	array<T>^ nativeHostArraySrc, 
	int srcOffset, 
	IntPtr hostAllocatedMemory, 
	int destOffset, 
	int count
)

Parameters

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

Type Parameters

T
Blittable type.

See Also