2018-03-21 12:58:30 +01:00
|
|
|
/*
|
2022-06-28 08:58:38 +00:00
|
|
|
* Copyright (C) 2018-2022 Intel Corporation
|
2018-03-21 12:58:30 +01:00
|
|
|
*
|
2018-09-18 09:11:08 +02:00
|
|
|
* SPDX-License-Identifier: MIT
|
2018-03-21 12:58:30 +01:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
2020-05-28 14:05:12 +02:00
|
|
|
#include "opencl/test/unit_test/fixtures/cl_device_fixture.h"
|
2020-02-23 15:20:22 +01:00
|
|
|
#include "opencl/test/unit_test/mocks/mock_context.h"
|
|
|
|
|
2020-05-28 14:05:12 +02:00
|
|
|
class EnqueueHandlerTest : public NEO::ClDeviceFixture,
|
2018-03-21 12:58:30 +01:00
|
|
|
public testing::Test {
|
|
|
|
public:
|
|
|
|
void SetUp() override {
|
2022-08-16 14:51:17 +00:00
|
|
|
ClDeviceFixture::setUp();
|
2020-01-14 14:32:11 +01:00
|
|
|
context = new NEO::MockContext(pClDevice);
|
2018-03-21 12:58:30 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
void TearDown() override {
|
|
|
|
context->decRefInternal();
|
2022-08-16 14:51:17 +00:00
|
|
|
ClDeviceFixture::tearDown();
|
2018-03-21 12:58:30 +01:00
|
|
|
}
|
2019-03-26 11:59:46 +01:00
|
|
|
NEO::MockContext *context;
|
2018-03-21 12:58:30 +01:00
|
|
|
};
|