mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-21 17:29:14 +08:00
Make gmm client context non-static member
Construct platform and initialize gmm in each test Change-Id: I4f209369e77213420308f31f911b7a569ea93283
This commit is contained in:
committed by
sys_ocldev
parent
7423919629
commit
a906ddaa66
@@ -21,7 +21,6 @@
|
||||
*/
|
||||
|
||||
#include "runtime/compiler_interface/compiler_options.h"
|
||||
#include "runtime/platform/platform.h"
|
||||
#include "unit_tests/fixtures/program_fixture.h"
|
||||
#include "unit_tests/global_environment.h"
|
||||
#include "unit_tests/helpers/kernel_binary_helper.h"
|
||||
@@ -53,7 +52,6 @@ class ProgramWithKernelDebuggingTest : public ProgramSimpleFixture,
|
||||
public ::testing::Test {
|
||||
public:
|
||||
void SetUp() override {
|
||||
constructPlatform();
|
||||
ProgramSimpleFixture::SetUp();
|
||||
device = pDevice;
|
||||
|
||||
@@ -73,7 +71,6 @@ class ProgramWithKernelDebuggingTest : public ProgramSimpleFixture,
|
||||
void TearDown() override {
|
||||
delete kbHelper;
|
||||
ProgramSimpleFixture::TearDown();
|
||||
platformImpl.reset(nullptr);
|
||||
}
|
||||
cl_device_id device;
|
||||
KernelBinaryHelper *kbHelper = nullptr;
|
||||
|
||||
Reference in New Issue
Block a user