for the `stream_enqueue_receiver`, put the env in pinned memory
ericniebler opened this issue · 0 comments
ericniebler commented
the env generally contains an in_place_stop_token that points to an in_place_stop_source stored in host memory. additionally, it will typically contain other pointers into host memory besides (e.g., pointers to parent envs).
pinned memory is accessible from device, if a bit slow.