Files
rocm-systems/src
Ben Sander a3e0012567 Add HIP_MAX_QUEUES feature.
Includes some tricky manipulation of the locks for contexts and streams.
issue is that stealing a stream requires we lock the context to
walk the streams to find a victim.  To avoid deadlock, we can't
have a stream locked when we lock the context.  This implementation
releases the stream lock, then acquires the context and selects the
victim.
A more stable implemenation might be to copy the stream list
from a context so that a lock is not required to walk all streams.
Smart shared_ptr could be used to prevent the streams from being
deallocated during the walk.
2017-01-09 21:02:56 -06:00
..
2016-12-15 14:42:52 -06:00
2016-12-17 16:53:03 +05:30
2017-01-09 23:54:01 +05:30
2016-10-18 22:27:16 -05:00
2017-01-09 21:02:56 -06:00
2017-01-09 21:02:56 -06:00
2016-10-15 22:55:22 +05:30
2017-01-09 21:02:56 -06:00
2016-12-17 08:54:09 -06:00
2016-11-10 23:12:48 -06:00
2017-01-09 21:02:56 -06:00