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

This reverts commit e3f6a5fa0d.

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

Change-Id: Id2924c60e46e9879038ded358f777c71cd95b2c1


[ROCm/clr commit: 1c45f257b9]
Этот коммит содержится в:
Maneesh Gupta
2022-11-17 01:04:34 -05:00
родитель b7318ab24c
Коммит 6594768a22
+2 -6
Просмотреть файл
@@ -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);