mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-26 23:33:20 +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
@@ -104,7 +104,7 @@ HWTEST_F(EnqueueReadImageTest, loadRegisterImmediateL3CNTLREG) {
|
||||
|
||||
HWCMDTEST_F(IGFX_GEN8_CORE, EnqueueReadImageTest, WhenEnqueueIsDoneThenStateBaseAddressIsProperlyProgrammed) {
|
||||
enqueueReadImage<FamilyType>();
|
||||
validateStateBaseAddress<FamilyType>(this->pDevice->getCommandStreamReceiver().getMemoryManager()->getInternalHeapBaseAddress(),
|
||||
validateStateBaseAddress<FamilyType>(this->pCmdQ->getCommandStreamReceiver().getMemoryManager()->getInternalHeapBaseAddress(),
|
||||
pDSH, pIOH, pSSH, itorPipelineSelect, itorWalker, cmdList, 0llu);
|
||||
}
|
||||
|
||||
@@ -227,7 +227,7 @@ HWTEST_F(EnqueueReadImageTest, GivenImage1DarrayWhenReadImageIsCalledThenHostPtr
|
||||
|
||||
EnqueueReadImageHelper<>::enqueueReadImage(pCmdQ, srcImage, CL_FALSE, origin, region);
|
||||
|
||||
auto &csr = pCmdQ->getDevice().getCommandStreamReceiver();
|
||||
auto &csr = pCmdQ->getCommandStreamReceiver();
|
||||
|
||||
auto temporaryAllocation = csr.getTemporaryAllocations().peekHead();
|
||||
ASSERT_NE(nullptr, temporaryAllocation);
|
||||
@@ -246,7 +246,7 @@ HWTEST_F(EnqueueReadImageTest, GivenImage2DarrayWhenReadImageIsCalledThenHostPtr
|
||||
|
||||
EnqueueReadImageHelper<>::enqueueReadImage(pCmdQ, srcImage, CL_FALSE, origin, region);
|
||||
|
||||
auto &csr = pCmdQ->getDevice().getCommandStreamReceiver();
|
||||
auto &csr = pCmdQ->getCommandStreamReceiver();
|
||||
|
||||
auto temporaryAllocation = csr.getTemporaryAllocations().peekHead();
|
||||
ASSERT_NE(nullptr, temporaryAllocation);
|
||||
|
||||
Reference in New Issue
Block a user