mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
Store SSH per root device in Kernel
Related-To: NEO-5001 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:

committed by
Compute-Runtime-Automation

parent
52d96af5f0
commit
7ec69c33f9
@ -81,7 +81,7 @@ HWTEST_F(MediaImageSetArgTest, WhenSettingMediaImageArgThenArgsSetCorrectly) {
|
||||
typedef typename FamilyType::MEDIA_SURFACE_STATE MEDIA_SURFACE_STATE;
|
||||
|
||||
auto pSurfaceState = reinterpret_cast<const MEDIA_SURFACE_STATE *>(
|
||||
ptrOffset(pKernel->getSurfaceStateHeap(),
|
||||
ptrOffset(pKernel->getSurfaceStateHeap(rootDeviceIndex),
|
||||
pKernelInfo->kernelArgInfo[0].offsetHeap));
|
||||
|
||||
srcImage->setMediaImageArg(const_cast<MEDIA_SURFACE_STATE *>(pSurfaceState), pClDevice->getRootDeviceIndex());
|
||||
@ -109,7 +109,7 @@ HWTEST_F(MediaImageSetArgTest, WhenSettingKernelArgImageThenArgsSetCorrectly) {
|
||||
ASSERT_EQ(CL_SUCCESS, retVal);
|
||||
|
||||
auto pSurfaceState = reinterpret_cast<const MEDIA_SURFACE_STATE *>(
|
||||
ptrOffset(pKernel->getSurfaceStateHeap(),
|
||||
ptrOffset(pKernel->getSurfaceStateHeap(rootDeviceIndex),
|
||||
pKernelInfo->kernelArgInfo[0].offsetHeap));
|
||||
|
||||
uint64_t surfaceAddress = pSurfaceState->getSurfaceBaseAddress();
|
||||
|
Reference in New Issue
Block a user