Christophe Paquot
20ae4d709f
Do not deferred stream creation now that we multiplex HW queues
...
SWDEV-239856
Change-Id: I156650faf832f86891f00ee167269509edd844ec
2020-06-09 19:16:25 -04:00
Saleel Kudchadker
fbba37070c
Modify HIP_RETURN to print useful details
...
Change-Id: I23892c2d9a738b0298cdf24106d688a792937c73
2020-06-06 02:05:21 -04:00
Aryan Salmanpour
83b8e1fbac
Add support for setting hip stream priority
...
this change follows CUDA convention where lower number is greater priority
Change-Id: I72596a36449e818cbd8c175bf8519c51f46b1610
2020-06-04 22:50:30 -04:00
Payam
f3ee29cdb2
Observed softhang while running hipStreamAddCallbackCatch SWDEV-236746
...
Workaround hipStream deadlock issue as the same lock was used twice SWDEV-236746
Change-Id: Icc60104ce6edf4cfd2a3a889bab78a6caadd50b7
2020-06-04 14:11:22 -04:00
Aryan Salmanpour
bf11ffd175
Add support for missig hipStreamGetPriority API
...
Change-Id: I2be4b055e5f977eb6ecad0b1f5f9535e72345fe7
2020-06-01 13:33:14 -04:00
kjayapra-amd
ab17b43d45
SWDEV-229840 - fixing return HIP_RETURN instances in hip.
...
Change-Id: I48763d7268bf5649bf2242c962c185f5f4af159c
2020-05-29 09:43:58 -04:00
Christophe Paquot
dfec136725
Revert "Call notifyCmdQueue when building the event wait list"
...
This reverts commit 1cfc9d1860 .
Reason for revert: better fix in ROCclr
Change-Id: I9707e69adf42a662c08fe9b3ec7458655d838bdd
2020-05-28 17:01:10 -04:00
Christophe Paquot
1cfc9d1860
Call notifyCmdQueue when building the event wait list
...
SWDEV-237846
Change-Id: I8bf70e7ad19903767a080d8c6e516c83b0dc2545
2020-05-27 12:53:46 -04:00
Christophe Paquot
9611b5a8b4
hipDeviceSynchronize needs to sync NonBlocking streams as well
...
SWDEV-237167
Change-Id: Ie916d8f03ce91e8ef05a2b4edc580a7021520f6f
2020-05-26 17:59:22 -04:00
Aryan Salmanpour
3a30b9eb8d
Add support for hipExtStreamCreateWithCUMask API
...
Change-Id: I369d0eaca493821c4badc6b18ac02daa2fddc95f
2020-05-22 11:34:06 -04:00
Christophe Paquot
163fdd6b74
HPC : Intermittent hangs are observed while running Gromacs benchmarks
...
SWDEV-235579
Move the lock before destroying the queue as there's a multithreaded race condition if the queue
is being destroy and right after we set queue_ to nullptr, another thread can call ihipWaitStreams
which will then call create on that same stream because queue is now nullptr.
Moving the lock on streamSet prevents this from happening because we would remove the stream from that
list and therefore ihipWait will not try to call asHostQueue which tries to create the queue if not created yet
since the stream won't be in the list anymore
Change-Id: I3108657ab403d39d4123e83294fcf1f0880e5563
2020-05-11 16:35:13 -07:00
Payam
dba0e72de2
name change vdi to rocclr
...
Change-Id: I06d198bbb4a499e153b290b73a92afed3553b252
2020-05-06 09:14:30 -04:00