mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-30 09:58:55 +08:00
Defer makeCoherent call to blocking calls
This allows flush() not to be blocking while using TBX Resolves: NEO-3054 Change-Id: Ib3a408d4b5ec66f0848572841b3c60785fc28ad9 Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
79e22a09b9
commit
b7bd3aa793
@@ -392,18 +392,6 @@ TEST(CommandStreamReceiverSimpleTest, givenNullHardwareDebugModeWhenInitializeTa
|
||||
EXPECT_EQ(*csr->getTagAddress(), static_cast<uint32_t>(-1));
|
||||
}
|
||||
|
||||
TEST(CommandStreamReceiverSimpleTest, givenCSRWhenWaitBeforeMakingNonResidentWhenRequiredIsCalledWithBlockingFlagSetThenItReturnsImmediately) {
|
||||
ExecutionEnvironment executionEnvironment;
|
||||
MockCommandStreamReceiver csr(executionEnvironment);
|
||||
uint32_t tag = 0;
|
||||
MockGraphicsAllocation allocation(&tag, sizeof(tag));
|
||||
csr.latestFlushedTaskCount = 3;
|
||||
csr.setTagAllocation(&allocation);
|
||||
csr.waitBeforeMakingNonResidentWhenRequired();
|
||||
|
||||
EXPECT_EQ(0u, tag);
|
||||
}
|
||||
|
||||
TEST(CommandStreamReceiverSimpleTest, givenVariousDataSetsWhenVerifyingMemoryThenCorrectValueIsReturned) {
|
||||
ExecutionEnvironment executionEnvironment;
|
||||
MockCommandStreamReceiver csr(executionEnvironment);
|
||||
|
||||
Reference in New Issue
Block a user