SWDEV-444767 - Fix graph tests for context change between Inst & launch with DEBUG_CLR_GRAPH_PACKET_CAPTURE

When graph is Instantiate on device 0 graph and launch on device1 switch to command creation and enqueue during launch.

Change-Id: Ied34dc99b2a776130d1354ed3830c6ccab9068e4
이 커밋은 다음에 포함됨:
Anusha GodavarthySurya
2024-02-14 17:02:31 +00:00
부모 d1b75659f2
커밋 7d09e1abed
3개의 변경된 파일과 14개의 추가작업 그리고 2개의 파일을 삭제
+3 -1
파일 보기
@@ -42,7 +42,9 @@ inline hipError_t ihipGraphUpload(hipGraphExec_t graphExec, hipStream_t stream)
if (!hip::isValid(stream)) {
return hipErrorContextIsDestroyed;
}
if (!hip::GraphExec::isGraphExecValid(reinterpret_cast<hip::GraphExec*>(graphExec))) {
return hipErrorInvalidValue;
}
return hipSuccess;
}