mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-26 15:03:02 +08:00
Allow Device creating multiple CSRs [3/n]
Add CSR from Device to CommandQueue Change-Id: Iaccf3c73d25e357242837677777d0513e81f520e Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
fbf0d44fff
commit
3ad33bf1b8
@@ -103,7 +103,7 @@ HWTEST_F(EnqueueWriteImageTest, loadRegisterImmediateL3CNTLREG) {
|
||||
|
||||
HWCMDTEST_F(IGFX_GEN8_CORE, EnqueueWriteImageTest, WhenEnqueueIsDoneThenStateBaseAddressIsProperlyProgrammed) {
|
||||
enqueueWriteImage<FamilyType>();
|
||||
validateStateBaseAddress<FamilyType>(this->pDevice->getCommandStreamReceiver().getMemoryManager()->getInternalHeapBaseAddress(),
|
||||
validateStateBaseAddress<FamilyType>(this->pCmdQ->getCommandStreamReceiver().getMemoryManager()->getInternalHeapBaseAddress(),
|
||||
pDSH, pIOH, pSSH, itorPipelineSelect, itorWalker, cmdList, 0llu);
|
||||
}
|
||||
|
||||
@@ -200,7 +200,7 @@ HWTEST_F(EnqueueWriteImageTest, GivenImage1DarrayWhenReadWriteImageIsCalledThenH
|
||||
|
||||
EnqueueWriteImageHelper<>::enqueueWriteImage(pCmdQ, dstImage2, CL_FALSE, origin, region);
|
||||
|
||||
auto &csr = pCmdQ->getDevice().getCommandStreamReceiver();
|
||||
auto &csr = pCmdQ->getCommandStreamReceiver();
|
||||
|
||||
auto temporaryAllocation1 = csr.getTemporaryAllocations().peekHead();
|
||||
ASSERT_NE(nullptr, temporaryAllocation1);
|
||||
@@ -224,7 +224,7 @@ HWTEST_F(EnqueueWriteImageTest, GivenImage2DarrayWhenReadWriteImageIsCalledThenH
|
||||
|
||||
EnqueueWriteImageHelper<>::enqueueWriteImage(pCmdQ, dstImage2, CL_FALSE, origin, region);
|
||||
|
||||
auto &csr = pCmdQ->getDevice().getCommandStreamReceiver();
|
||||
auto &csr = pCmdQ->getCommandStreamReceiver();
|
||||
|
||||
auto temporaryAllocation1 = csr.getTemporaryAllocations().peekHead();
|
||||
ASSERT_NE(nullptr, temporaryAllocation1);
|
||||
|
||||
Reference in New Issue
Block a user