DeviceMemory.map

Produce a scoped memory map. The the memory will be unmapped when the object goes out of scope. The is an untyped memory holder. In order to access the memory, call view with the right type parameter.

interface DeviceMemory
final
map
(
in size_t offset = 0
,
in size_t sz = size_t.max
)

Parameters

offset size_t

the offset to the requested memory in bytes

Meta