mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-30 01:35:20 +08:00
Improve KernelInfo handling:
Remove wrapper for KernelInfo constructor Switch to unique pointer where possible Change-Id: Ib3f323e34836e1d189d836fd539ab45518609610
This commit is contained in:
@@ -130,7 +130,7 @@ TEST(ParentKernelTest, initializeOnParentKernelAllocatesPrivateMemoryForBlocks)
|
||||
|
||||
uint32_t crossThreadOffsetBlock = 0;
|
||||
|
||||
KernelInfo *infoBlock = new KernelInfo();
|
||||
auto infoBlock = new KernelInfo();
|
||||
SPatchAllocateStatelessDefaultDeviceQueueSurface *allocateDeviceQueueBlock = new SPatchAllocateStatelessDefaultDeviceQueueSurface;
|
||||
allocateDeviceQueueBlock->DataParamOffset = crossThreadOffsetBlock;
|
||||
allocateDeviceQueueBlock->DataParamSize = 8;
|
||||
|
||||
Reference in New Issue
Block a user