mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00

- This allows for ExecutionEnvironment to live longer then platform after its global destruction - Device adds references to ExecutionEnvironment after creation - When device is destroyed it removes the dependency causing the cleanup - Platform upon destruction no longer destroys the device, but decrements the internal ref count. Change-Id: I22593ea44b2b50e3416575a9e97e3ce0a1f8b5c0