mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
Simplify platform destructor.
- remove not needed code. Change-Id: I7fad36e651e33156a136467f8b2e32d88f13ac13
This commit is contained in:
committed by
sys_ocldev
parent
5408913d38
commit
b52b1d0aea
@@ -79,7 +79,7 @@ class Platform : public BaseObject<_cl_platform_id> {
|
||||
cl_uint state = StateNone;
|
||||
void fillGlobalDispatchTable();
|
||||
|
||||
PlatformInfo *platformInfo = nullptr;
|
||||
std::unique_ptr<PlatformInfo> platformInfo;
|
||||
DeviceVector devices;
|
||||
std::string compilerExtensions;
|
||||
std::unique_ptr<AsyncEventsHandler> asyncEventsHandler;
|
||||
|
||||
Reference in New Issue
Block a user