Mir

Code review comment for lp:~cemil-azizoglu/mir/improve-raii

Revision history for this message
Kevin DuBois (kdub) wrote :

> implies the same behavior. Some rework is needed there (which I think it's
> good, because we should avoid nebulous ownership semantics)

I don't think the current semantics are nebulous. The TemporaryBuffers are a Buffer resource; they're a guarantee that they have a buffer locked for a particular purpose for a period of time. Likewise the {mgm/mga}::Buffers are a Buffer resource too, but they have the lifetime of the allocation we request from the driver.

« Back to merge proposal