Add control on platform life cycle.

Change-Id: I5c24b41747d822b71dd57e9a949cf25fcc78a453
This commit is contained in:
Mrozek, Michal
2018-06-26 16:15:48 +02:00
committed by sys_ocldev
parent 0f91c3bc47
commit a21c0a0074
27 changed files with 90 additions and 31 deletions

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2017, Intel Corporation
* Copyright (c) 2017 - 2018, Intel Corporation
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
@ -76,6 +76,6 @@ TEST(clGetPlatformIDsNegativeTests, WhenInitFailedThenErrorIsReturned) {
EXPECT_EQ(0u, numPlatforms);
EXPECT_EQ(nullptr, platformRet);
platform()->shutdown();
platformImpl.reset(nullptr);
}
} // namespace ULT