mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-30 09:58:55 +08:00
Add control on platform life cycle.
Change-Id: I5c24b41747d822b71dd57e9a949cf25fcc78a453
This commit is contained in:
committed by
sys_ocldev
parent
0f91c3bc47
commit
a21c0a0074
@@ -52,11 +52,8 @@ const char *gCBadDompilerDllName = "libbad_compiler.so";
|
||||
class CompilerInterfaceTest : public DeviceFixture,
|
||||
public ::testing::Test {
|
||||
public:
|
||||
CompilerInterfaceTest() {
|
||||
//
|
||||
}
|
||||
|
||||
void SetUp() override {
|
||||
constructPlatform();
|
||||
DeviceFixture::SetUp();
|
||||
|
||||
retVal = CL_SUCCESS;
|
||||
@@ -102,6 +99,7 @@ class CompilerInterfaceTest : public DeviceFixture,
|
||||
pCompilerInterface.reset();
|
||||
|
||||
DeviceFixture::TearDown();
|
||||
platformImpl.reset(nullptr);
|
||||
}
|
||||
|
||||
std::unique_ptr<MockCompilerInterface> pCompilerInterface = nullptr;
|
||||
|
||||
Reference in New Issue
Block a user