mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
Cleaned up files: opencl/test/unit_test/fixtures/cl_device_fixture.h Related-To: NEO-5548 Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com>
27 lines
656 B
C++
27 lines
656 B
C++
/*
|
|
* Copyright (C) 2018-2023 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_cl_device.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;
|
|
};
|