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

@ -28,7 +28,7 @@ void ClDeviceFixture::setUpImpl(const NEO::HardwareInfo *hardwareInfo) {
auto &commandStreamReceiver = pDevice->getGpgpuCommandStreamReceiver();
pTagMemory = commandStreamReceiver.getTagAddress();
ASSERT_NE(nullptr, const_cast<uint32_t *>(pTagMemory));
ASSERT_NE(nullptr, const_cast<TagAddressType *>(pTagMemory));
this->osContext = pDevice->getDefaultEngine().osContext;
}

View File

@ -25,7 +25,7 @@ struct ClDeviceFixture {
MockDevice *pDevice = nullptr;
MockClDevice *pClDevice = nullptr;
volatile uint32_t *pTagMemory = nullptr;
volatile TagAddressType *pTagMemory = nullptr;
HardwareInfo hardwareInfo = {};
PLATFORM platformHelper = {};
OsContext *osContext = nullptr;

View File

@ -173,7 +173,7 @@ struct UltCommandStreamReceiverTest
}
DispatchFlags flushTaskFlags = DispatchFlagsHelper::createDefaultDispatchFlags();
uint32_t taskLevel = 42;
TaskCountType taskLevel = 42;
LinearStream commandStream;
IndirectHeap dsh = {nullptr};
IndirectHeap ioh = {nullptr};