Enable 'Pass info between GT-Pin and IGC', after being reverted

This reverts commit ea92874a66.

Change-Id: I4994b30f059012a5e89d899665af5c24b8ac8b18
This commit is contained in:
Plewka, Maciej
2018-08-06 04:19:32 -07:00
committed by sys_ocldev
parent d17879d412
commit 392277ff00
14 changed files with 208 additions and 14 deletions

View File

@@ -31,6 +31,7 @@
#include "runtime/helpers/string.h"
#include "runtime/kernel/kernel.h"
#include "runtime/memory_manager/memory_manager.h"
#include "runtime/gtpin/gtpin_notify.h"
#include <algorithm>
@@ -790,7 +791,13 @@ cl_int Program::parsePatchList(KernelInfo &kernelInfo) {
"\n .Offset", pPatchToken->Offset,
"\n .PerThreadSystemThreadSurfaceSize", pPatchToken->PerThreadSystemThreadSurfaceSize);
} break;
case PATCH_TOKEN_GTPIN_INFO: {
setIgcInfo(ptrOffset(pCurPatchListPtr, sizeof(SPatchItemHeader)));
DBG_LOG(LogPatchTokens,
"\n.PATCH_TOKEN_GTPIN_INFO", pPatch->Token,
"\n .Size", pPatch->Size);
break;
}
default:
printDebugString(DebugManager.flags.PrintDebugMessages.get(), stderr, " Program::parsePatchList. Unknown Patch Token: %d\n", pPatch->Token);
if (false == isSafeToSkipUnhandledToken(pPatch->Token)) {