Remove usage of TestLegacy from opencl tests

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2022-08-16 14:51:17 +00:00
committed by Compute-Runtime-Automation
parent 44d218e52e
commit bca852617c
350 changed files with 1295 additions and 1315 deletions

View File

@@ -32,14 +32,14 @@ void CL_CALLBACK callbackFunction(const char *providedHint, const void *flags, s
struct DriverDiagnosticsTest : public PlatformFixture,
public ::testing::Test {
using PlatformFixture::SetUp;
using PlatformFixture::setUp;
void SetUp() override {
PlatformFixture::SetUp();
PlatformFixture::setUp();
memset(userData, 0, maxHintCounter * DriverDiagnostics::maxHintStringSize);
}
void TearDown() override {
PlatformFixture::TearDown();
PlatformFixture::tearDown();
}
cl_int retVal = CL_SUCCESS;
@@ -78,7 +78,7 @@ struct PerformanceHintTest : public DriverDiagnosticsTest,
}
void TearDown() override {
CommandQueueHwFixture::TearDown();
CommandQueueHwFixture::tearDown();
DriverDiagnosticsTest::TearDown();
}
};
@@ -225,7 +225,7 @@ struct PerformanceHintEnqueueKernelTest : public PerformanceHintEnqueueTest,
void SetUp() override {
PerformanceHintEnqueueTest::SetUp();
CreateProgramFromBinary(context, context->getDevices(), "CopyBuffer_simd32");
createProgramFromBinary(context, context->getDevices(), "CopyBuffer_simd32");
retVal = pProgram->build(pProgram->getDevices(), nullptr, false);
ASSERT_EQ(CL_SUCCESS, retVal);
kernel = Kernel::create<MockKernel>(pProgram, pProgram->getKernelInfoForKernel("CopyBuffer"), *context->getDevice(0), &retVal);
@@ -236,7 +236,7 @@ struct PerformanceHintEnqueueKernelTest : public PerformanceHintEnqueueTest,
void TearDown() override {
delete kernel;
ProgramFixture::TearDown();
ProgramFixture::tearDown();
PerformanceHintEnqueueTest::TearDown();
}
MockKernel *kernel = nullptr;
@@ -262,7 +262,7 @@ struct PerformanceHintEnqueueKernelPrintfTest : public PerformanceHintEnqueueTes
void SetUp() override {
PerformanceHintEnqueueTest::SetUp();
CreateProgramFromBinary(context, context->getDevices(), "printf");
createProgramFromBinary(context, context->getDevices(), "printf");
retVal = pProgram->build(pProgram->getDevices(), nullptr, false);
ASSERT_EQ(CL_SUCCESS, retVal);
kernel = Kernel::create(pProgram, pProgram->getKernelInfoForKernel("test"), *context->getDevice(0), &retVal);
@@ -272,7 +272,7 @@ struct PerformanceHintEnqueueKernelPrintfTest : public PerformanceHintEnqueueTes
void TearDown() override {
delete kernel;
ProgramFixture::TearDown();
ProgramFixture::tearDown();
PerformanceHintEnqueueTest::TearDown();
}
Kernel *kernel = nullptr;