mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
Use dedicated using type for TaskCount
Related-To: NEO-7155 Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
3f962bf3e8
commit
4b42b066f8
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user