mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-24 21:18:24 +08:00
[1/N] Make the execution environment adapter agnostic
-Create a structure for adapter specific data -Store an array of adapter data in the execution environment Related-To: NEO-3857 Change-Id: Ia5b52a7bfa53198f0ca5124bcaa0669dd3601faf Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
e22ce2f757
commit
bfc9863179
@@ -189,6 +189,7 @@ TEST(ExecutionEnvironment, givenExecutionEnvironmentWhenInitializeMemoryManagerI
|
||||
static_assert(sizeof(ExecutionEnvironment) == sizeof(std::vector<std::unique_ptr<CommandStreamReceiver>>) +
|
||||
sizeof(std::mutex) +
|
||||
sizeof(std::unique_ptr<HardwareInfo>) +
|
||||
sizeof(std::unique_ptr<RootDeviceEnvironment[]>) +
|
||||
(is64bit ? 88 : 48),
|
||||
"New members detected in ExecutionEnvironment, please ensure that destruction sequence of objects is correct");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user