mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-21 01:04:57 +08:00
ULTs cleanup
- remove unused MemoryManagementFixture. MemoryLeaks are tracked using MemoryLeakListener no need to duplicate with Fixure. MMF should be used when you need to inject memory allocation failure Change-Id: I95bcaa7051acf540c5b015c5489ed6a6fc38ee8e
This commit is contained in:
committed by
sys_ocldev
parent
9e509f302a
commit
7e6432a207
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2017, Intel Corporation
|
||||
* Copyright (c) 2017 - 2018, Intel Corporation
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
@@ -26,7 +26,6 @@
|
||||
#include "runtime/mem_obj/buffer.h"
|
||||
#include "unit_tests/fixtures/context_fixture.h"
|
||||
#include "unit_tests/fixtures/device_fixture.h"
|
||||
#include "unit_tests/fixtures/memory_management_fixture.h"
|
||||
#include "test.h"
|
||||
#include "unit_tests/mocks/mock_buffer.h"
|
||||
#include "unit_tests/mocks/mock_context.h"
|
||||
@@ -38,7 +37,7 @@
|
||||
|
||||
using namespace OCLRT;
|
||||
|
||||
class KernelArgBufferFixture : public ContextFixture, public DeviceFixture, public MemoryManagementFixture {
|
||||
class KernelArgBufferFixture : public ContextFixture, public DeviceFixture {
|
||||
|
||||
using ContextFixture::SetUp;
|
||||
|
||||
@@ -48,8 +47,8 @@ class KernelArgBufferFixture : public ContextFixture, public DeviceFixture, publ
|
||||
}
|
||||
|
||||
protected:
|
||||
void SetUp() override;
|
||||
void TearDown() override;
|
||||
void SetUp();
|
||||
void TearDown();
|
||||
|
||||
cl_int retVal;
|
||||
MockProgram *pProgram;
|
||||
|
||||
Reference in New Issue
Block a user