mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-10 12:53:42 +08:00
26 lines
600 B
C++
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;
|
|
};
|