mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-10 12:53:42 +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
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
|
@ -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};
|
||||
|
Reference in New Issue
Block a user