gpu-compute: Store accum_offset from code object in WF
The accumulation offset is needed for some instructions. In order to access this value we need to place it somewhere instruction definitions can access. The most logical place is in the wavefront. This commit simply copies the value from the HSA task to the wavefront object. Change-Id: I44ef62ef32d2421953f096c431dd758e882245b4
This commit is contained in:
@@ -723,7 +723,6 @@ GPUCommandProcessor::sanityCheckAKC(AMDKernelCode *akc)
|
||||
warn_if(akc->kernarg_preload_spec_length ||
|
||||
akc->kernarg_preload_spec_offset,
|
||||
"Kernarg preload not implemented\n");
|
||||
warn_if(akc->accum_offset, "ACC offset not implemented\n");
|
||||
warn_if(akc->tg_split, "TG split not implemented\n");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user