Signal Fix: Moved kernel count to critical stream
1. Added environment variable HIP_NUM_KERNELS_INFLIGHT 2. Moved kernelcount variable inside stream critical section Change-Id: I51d24d0a2a109467209170de117a6d02ba4e308e
Ta zmiana jest zawarta w:
%! (template.HTML=
Aditya Atluri)złożyło 2016-07-26 17:09:27 -05:00
1 rodzic
53d7629a85
złożenie
0a31b47e2e
2 plików zmienionych
+9
-7
Żadne pliki nie pasują do Twojego wyszukiwania
@@ -379,7 +379,7 @@ public:
|
||||
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 _kernelCnt;
|
||||
SIGSEQNUM _stream_sig_id; // Monotonically increasing unique signal id.
|
||||
};
|
||||
|
||||
@@ -393,7 +393,6 @@ typedef LockedAccessor<ihipStreamCritical_t> LockedAccessor_StreamCrit_t;
|
||||
class ihipStream_t {
|
||||
public:
|
||||
typedef uint64_t SeqNum_t ;
|
||||
uint32_t kernelCnt;
|
||||
ihipStream_t(unsigned device_index, hc::accelerator_view av, unsigned int flags);
|
||||
~ihipStream_t();
|
||||
|
||||
|
||||
Reference in new issue
Zablokuj użytkownika