mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
Add new field to PATCH_TOKEN_THREAD_PAYLOAD struct
Change-Id: If458d5a118113daf222975670244cb2b9e63ec27
This commit is contained in:

committed by
sys_ocldev

parent
4912f41759
commit
1346148d69
@ -488,7 +488,8 @@ cl_int Program::parsePatchList(KernelInfo &kernelInfo) {
|
||||
"\n .UnusedPerThreadConstantPresent", kernelInfo.patchInfo.threadPayload->UnusedPerThreadConstantPresent,
|
||||
"\n .GetLocalIDPresent", kernelInfo.patchInfo.threadPayload->GetLocalIDPresent,
|
||||
"\n .GetGroupIDPresent", kernelInfo.patchInfo.threadPayload->GetGroupIDPresent,
|
||||
"\n .GetGlobalOffsetPresent", kernelInfo.patchInfo.threadPayload->GetGlobalOffsetPresent);
|
||||
"\n .GetGlobalOffsetPresent", kernelInfo.patchInfo.threadPayload->GetGlobalOffsetPresent,
|
||||
"\n .OffsetToSkipPerThreadDataLoad", kernelInfo.patchInfo.threadPayload->OffsetToSkipPerThreadDataLoad);
|
||||
break;
|
||||
|
||||
case PATCH_TOKEN_EXECUTION_ENVIRONMENT:
|
||||
|
@ -238,6 +238,7 @@ TEST_F(KernelDataTest, ThreadPayload) {
|
||||
threadPayload.LocalIDXPresent = true;
|
||||
threadPayload.LocalIDYPresent = true;
|
||||
threadPayload.LocalIDZPresent = true;
|
||||
threadPayload.OffsetToSkipPerThreadDataLoad = true;
|
||||
|
||||
pPatchList = &threadPayload;
|
||||
patchListSize = threadPayload.Size;
|
||||
|
Reference in New Issue
Block a user