SWDEV-423317 - Enable GPU wait for hip sync calls
hipStreamSynchronize and hipDeviceSynchronize won't longer wait
for CPU commands in DD mode
Change-Id: I079c8bbfc34ddc6d3e2d74c92a34665877e512a5
[ROCm/clr commit: fbea58ba11]
This commit is contained in:
@@ -293,7 +293,7 @@ namespace hip {
|
||||
const std::vector<uint32_t> GetCUMask() const { return cuMask_; }
|
||||
|
||||
/// Sync all streams
|
||||
static void SyncAllStreams(int deviceId);
|
||||
static void SyncAllStreams(int deviceId, bool cpu_wait = true);
|
||||
|
||||
/// Check whether any blocking stream running
|
||||
static bool StreamCaptureBlocking();
|
||||
|
||||
Reference in New Issue
Block a user