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

@@ -33,7 +33,7 @@ WaitStatus UserEvent::wait(bool blocking, bool useQuickKmdSleep) {
return WaitStatus::Ready;
}
uint32_t UserEvent::getTaskLevel() {
TaskCountType UserEvent::getTaskLevel() {
if (peekExecutionStatus() == CL_COMPLETE) {
return 0;
}
@@ -64,8 +64,8 @@ WaitStatus VirtualEvent::wait(bool blocking, bool useQuickKmdSleep) {
return WaitStatus::Ready;
}
uint32_t VirtualEvent::getTaskLevel() {
uint32_t taskLevel = 0;
TaskCountType VirtualEvent::getTaskLevel() {
TaskCountType taskLevel = 0;
if (cmdQueue != nullptr) {
auto &csr = cmdQueue->getGpgpuCommandStreamReceiver();
taskLevel = csr.peekTaskLevel();