SWDEV-363069 - Disable sync force for MT
hipMemcpyAsync doesn't require any forced sync even for sysmem Change-Id: I83951f6118e84d79c74d5671df62678c5db085a8
이 커밋은 다음에 포함됨:
1 부모
413cc757af
커밋
52ff4368e5
1 파일이 변경됨
+6
-2
@@ -446,9 +446,13 @@ hipError_t ihipMemcpy(void* dst, const void* src, size_t sizeBytes, hipMemcpyKin
|
||||
return hipErrorInvalidValue;
|
||||
}
|
||||
} else if ((srcMemory == nullptr) && (dstMemory != nullptr)) {
|
||||
isAsync = false;
|
||||
if (AMD_DIRECT_DISPATCH) {
|
||||
isAsync = false;
|
||||
}
|
||||
} else if ((srcMemory != nullptr) && (dstMemory == nullptr)) {
|
||||
isAsync = false;
|
||||
if (AMD_DIRECT_DISPATCH) {
|
||||
isAsync = false;
|
||||
}
|
||||
}
|
||||
amd::Command* command = nullptr;
|
||||
status = ihipMemcpyCommand(command, dst, src, sizeBytes, kind, queue);
|
||||
|
||||
새 이슈에서 참조
사용자 차단