SWDEV-480209 - Handle GraphExec object release

=> GraphExec instance is destroyed before async launch completes,
destroy after all pending graph launches
=> Remove GraphExec destroy during next sync point(hipStreamSync,
hipDeviceSync etc..)

Change-Id: I4df682aae5787fd6e5240a7be936ce50361345d0
This commit is contained in:
Anusha GodavarthySurya
2024-10-01 12:00:46 +00:00
committed by Anusha Godavarthy Surya
parent 05d6f75830
commit f9f995c6d0
7 changed files with 46 additions and 74 deletions
-2
View File
@@ -89,8 +89,6 @@ struct GraphNode;
struct GraphExec;
struct UserObject;
class Stream;
extern void ReleaseGraphExec(int deviceId);
extern void ReleaseGraphExec(hip::Stream* stream);
typedef struct ihipIpcMemHandle_st {
char ipc_handle[IHIP_IPC_MEM_HANDLE_SIZE]; ///< ipc memory handle on ROCr
size_t psize;