Add Unrecoverable if GraphicsAllocation in use is being destroyed.

Change-Id: I74a54ef023c62e12d711db07d79942166e002188
This commit is contained in:
Mrozek, Michal
2018-01-17 16:23:51 +01:00
committed by sys_ocldev
parent a9a24e82e5
commit e923c2211b
4 changed files with 19 additions and 5 deletions

View File

@@ -54,6 +54,10 @@ TEST_F(DeviceTest, getCommandStreamReceiver) {
EXPECT_NE(nullptr, &pDevice->getCommandStreamReceiver());
}
TEST_F(DeviceTest, givenDeviceWhenPeekCommandStreamReceiverIsCalledThenCommandStreamReceiverIsReturned) {
EXPECT_NE(nullptr, pDevice->peekCommandStreamReceiver());
}
TEST_F(DeviceTest, getSupportedClVersion) {
auto version = pDevice->getSupportedClVersion();
auto version2 = pDevice->getHardwareInfo().capabilityTable.clVersionSupport;