Files
compute-runtime/opencl/source/execution_environment/cl_execution_environment.h
Mateusz Jablonski fe3d0a567f Refactor OCL api tests
use testedClDevice instead of devices[testedRootDeviceIndex]
pass only tested device to build program
add member ApiFixture::pDevice

Related-To: NEO-4632
Change-Id: I7d8d1bd6c3336970a1ad0f0e48c254eb6f419200
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-04-27 10:40:17 +02:00

24 lines
506 B
C++

/*
* Copyright (C) 2020 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#pragma once
#include "shared/source/execution_environment/execution_environment.h"
namespace NEO {
class AsyncEventsHandler;
class ClExecutionEnvironment : public ExecutionEnvironment {
public:
ClExecutionEnvironment();
AsyncEventsHandler *getAsyncEventsHandler() const;
~ClExecutionEnvironment() override;
protected:
std::unique_ptr<AsyncEventsHandler> asyncEventsHandler;
};
} // namespace NEO