Signal Fix: Added signal limit to allocSignal
1. Did not change the logic in allocSignal 2. Added guard to wait on signal limit Change-Id: I78f29097e6a584b3c3d78319dac19869067bd1fe
이 커밋은 다음에 포함됨:
1 부모
0a31b47e2e
커밋
1859c6e515
2 파일이 변경됨
+14
-2
검색과 일치하는 파일 없음
@@ -351,7 +351,9 @@ public:
|
||||
_last_copy_signal(NULL),
|
||||
_signalCursor(0),
|
||||
_oldest_live_sig_id(1),
|
||||
_stream_sig_id(0)
|
||||
_stream_sig_id(0),
|
||||
_kernelCnt(0),
|
||||
_signalCnt(0)
|
||||
{
|
||||
_signalPool.resize(HIP_STREAM_SIGNALS > 0 ? HIP_STREAM_SIGNALS : 1);
|
||||
};
|
||||
@@ -378,7 +380,7 @@ public:
|
||||
int _signalCursor;
|
||||
SIGSEQNUM _oldest_live_sig_id; // oldest live seq_id, anything < this can be allocated.
|
||||
std::deque<ihipSignal_t> _signalPool; // Pool of signals for use by this stream.
|
||||
|
||||
uint32_t _signalCnt;
|
||||
uint32_t _kernelCnt;
|
||||
SIGSEQNUM _stream_sig_id; // Monotonically increasing unique signal id.
|
||||
};
|
||||
|
||||
새 이슈에서 참조
사용자 차단