Add executionEnvironment field to Program

Change-Id: Id624177aa3f0b5525bac86e2e0a935ebaf53480e
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
This commit is contained in:
Maciej Dziuban
2018-08-06 09:46:57 +02:00
committed by sys_ocldev
parent 956ee41c71
commit 524737af39
56 changed files with 294 additions and 244 deletions

View File

@ -32,9 +32,11 @@ using namespace OCLRT;
class ProcessSpirBinaryTests : public ::testing::Test {
public:
void SetUp() override {
program = std::make_unique<MockProgram>();
executionEnvironment = std::make_unique<ExecutionEnvironment>();
program = std::make_unique<MockProgram>(*executionEnvironment);
}
std::unique_ptr<ExecutionEnvironment> executionEnvironment;
std::unique_ptr<MockProgram> program;
};