mapMemory

Map device memory to host visible memory.

mapMemory
(
T
)
(,
in size_t offset
,
in size_t count
)

Parameters

dm DeviceMemory

the device memory to be mapped

offset size_t

the offset to the requested memory in bytes

count size_t

the number of elements of type T to be mapped Warning: offset and count are not in the same units. This is necessary in order to allow a memory block to hold several arrays of different element types.

Meta