You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We've made stream_t only constructible with a stream id, and having a const id and device id - with stream::make() functions to call the creation code (which is outside of the class). Let's do the same for event_t (as well as keep their device IDs explicitly).
The text was updated successfully, but these errors were encountered:
`event_t`:
* No longer caching the event flags in the wrapper; CUDA doesn't offer it - we don't offer it
* Made `event_t` only constructible when an event id already exists - which allows the construction to have the event id as a constant field
* Am caching the index of the device with which the stream is associated
* Added `make()` and `wrap()` methods a-la-`stream_t`
* Now destructing the `other` object on move-construction of an `event_`
We've made
stream_t
only constructible with a stream id, and having a const id and device id - withstream::make()
functions to call the creation code (which is outside of the class). Let's do the same forevent_t
(as well as keep their device IDs explicitly).The text was updated successfully, but these errors were encountered: