mirror of
https://github.com/intel/compute-runtime.git
synced 2025-11-10 05:49:51 +08:00
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>
24 lines
506 B
C++
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
|