Files
compute-runtime/opencl/test/unit_test/fixtures/enqueue_handler_fixture.h
Mateusz Jablonski bca852617c Remove usage of TestLegacy from opencl tests
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-08-16 22:16:48 +02:00

26 lines
600 B
C++

/*
* Copyright (C) 2018-2022 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#pragma once
#include "opencl/test/unit_test/fixtures/cl_device_fixture.h"
#include "opencl/test/unit_test/mocks/mock_context.h"
class EnqueueHandlerTest : public NEO::ClDeviceFixture,
public testing::Test {
public:
void SetUp() override {
ClDeviceFixture::setUp();
context = new NEO::MockContext(pClDevice);
}
void TearDown() override {
context->decRefInternal();
ClDeviceFixture::tearDown();
}
NEO::MockContext *context;
};