Skip to content

Optionally provide Token to ArrayHandle::ReadPortal and ArrayHandle::WritePortal

Usually it is inconvenient to provide a Token object when getting a control-side array portal from an ArrayHandle. However, there are instances when you are building an execution object and are using an ArrayHandle to transfer data to the device where you might have a token. Thus, it should be possible to pass the token to ReadPortal or WritePortal.