Revert "SWDEV-363069 - Disable sync force for MT"

This reverts commit 52ff4368e5.

Reason for revert: SWDEV-365075, SWDEV-367163, SWDEV-367164, SWDEV-367173

Change-Id: Id2924c60e46e9879038ded358f777c71cd95b2c1
This commit is contained in:
Maneesh Gupta
2022-11-17 01:04:34 -05:00
rodzic c800d2126d
commit 1c45f257b9
+2 -6
Wyświetl plik
@@ -446,13 +446,9 @@ hipError_t ihipMemcpy(void* dst, const void* src, size_t sizeBytes, hipMemcpyKin
return hipErrorInvalidValue;
}
} else if ((srcMemory == nullptr) && (dstMemory != nullptr)) {
if (AMD_DIRECT_DISPATCH) {
isAsync = false;
}
isAsync = false;
} else if ((srcMemory != nullptr) && (dstMemory == nullptr)) {
if (AMD_DIRECT_DISPATCH) {
isAsync = false;
}
isAsync = false;
}
amd::Command* command = nullptr;
status = ihipMemcpyCommand(command, dst, src, sizeBytes, kind, queue);