ILGPU
ILGPU copied to clipboard
Simplified API for copying to/from page locked memory.
Fixes #691.
Removes the various CopyFrom/CopyToPageLockedAsync methods in favour of the more generic CopyTo/CopyFrom ArrayView methods. This allows copying to/from a subset of the page locked array without adding a lot of extra to methods specifically support it.
PageLockedScoped
now exposes an ArrayView
property that can be used to interact with the existing CopyFrom/CopyTo ArrayView methods.