mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
Create platformsImpl when needed
Change-Id: Ie89356761fc39910c765066d40cd363c93002692 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
38ecb25ee6
commit
48c084ca32
@@ -37,7 +37,7 @@
|
||||
#include <map>
|
||||
namespace NEO {
|
||||
|
||||
std::vector<std::unique_ptr<Platform>> *platformsImpl = new std::vector<std::unique_ptr<Platform>>;
|
||||
std::vector<std::unique_ptr<Platform>> *platformsImpl = nullptr;
|
||||
|
||||
Platform::Platform(ExecutionEnvironment &executionEnvironmentIn) : executionEnvironment(executionEnvironmentIn) {
|
||||
clDevices.reserve(4);
|
||||
|
||||
Reference in New Issue
Block a user