mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-24 12:23:05 +08:00
Allow Device creating multiple CSRs [6/n]
- Introduce default Engine query - Improve Deferred Deleter usage - Remove Tag Allocation from Device Change-Id: Iaa88d8dc0166325acf9a157dcd2217ea408ee285 Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
3e800d55e6
commit
0131e66a70
@@ -665,7 +665,7 @@ TEST_P(ProgramFromBinaryTest, givenProgramWhenCleanCurrentKernelInfoIsCalledButG
|
||||
pProgram->build(1, &device, nullptr, nullptr, nullptr, true);
|
||||
auto kernelAllocation = pProgram->getKernelInfo(size_t(0))->getGraphicsAllocation();
|
||||
kernelAllocation->updateTaskCount(100, 0);
|
||||
*pDevice->getTagAddress() = 0;
|
||||
*csr.getTagAddress() = 0;
|
||||
pProgram->cleanCurrentKernelInfo();
|
||||
EXPECT_FALSE(csr.getTemporaryAllocations().peekIsEmpty());
|
||||
EXPECT_EQ(csr.getTemporaryAllocations().peekHead(), kernelAllocation);
|
||||
|
||||
Reference in New Issue
Block a user