mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
Update getKernelInfo method
add root device index parameter to return proper kernel info Related-To: NEO-5001 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:

committed by
Compute-Runtime-Automation

parent
864f069b8f
commit
c8d1e082dd
@ -568,7 +568,7 @@ TEST_F(InternalsEventTest, givenBlockedKernelWithPrintfWhenSubmittedThenPrintOut
|
||||
|
||||
MockKernelWithInternals mockKernelWithInternals(*pClDevice);
|
||||
auto pKernel = mockKernelWithInternals.mockKernel;
|
||||
KernelInfo *kernelInfo = const_cast<KernelInfo *>(&pKernel->getKernelInfo());
|
||||
KernelInfo *kernelInfo = const_cast<KernelInfo *>(&pKernel->getKernelInfo(rootDeviceIndex));
|
||||
kernelInfo->patchInfo.pAllocateStatelessPrintfSurface = pPrintfSurface;
|
||||
kernelInfo->patchInfo.stringDataMap.insert(std::make_pair(0, testString));
|
||||
uint64_t crossThread[10];
|
||||
|
Reference in New Issue
Block a user