EventId is needed in calling hsaKmtDestroyEvent() when mmap failed, so we should move it ahead of mmap call. Change-Id: I5f4288b953611799a02b0e988d6b2e48104466a0 [ROCm/ROCR-Runtime commit: 9c9bfa30c0]
9c9bfa30c0