Use dedicated using type for TaskCount

Related-To: NEO-7155

Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
This commit is contained in:
Maciej Plewka
2022-11-22 13:53:59 +00:00
committed by Compute-Runtime-Automation
parent 3f962bf3e8
commit 4b42b066f8
146 changed files with 568 additions and 529 deletions

View File

@@ -122,7 +122,7 @@ TEST_F(KernelSubstituteTest, givenKernelWithUsedKernelAllocationWhenSubstituteKe
kernel.kernelInfo.createKernelAllocation(*pDevice, false);
auto firstAllocation = kernel.kernelInfo.kernelAllocation;
uint32_t notReadyTaskCount = *commandStreamReceiver.getTagAddress() + 1u;
TaskCountType notReadyTaskCount = *commandStreamReceiver.getTagAddress() + 1u;
firstAllocation->updateTaskCount(notReadyTaskCount, commandStreamReceiver.getOsContext().getContextId());