Simplify Context method

return if context has multiple sub devices related to a given root device

Related-To: NEO-3691
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2021-03-29 17:06:29 +00:00
committed by Compute-Runtime-Automation
parent 21e89b121a
commit 8215395401
37 changed files with 162 additions and 170 deletions

View File

@ -628,7 +628,7 @@ HWTEST_F(CommandStreamReceiverFlushTaskTests, givenMultiOsContextCapableSetAndDi
commandStreamReceiver.multiOsContextCapable = true;
flushTaskFlags.useGlobalAtomics = true;
flushTaskFlags.numDevicesInContext = 1;
flushTaskFlags.areMultipleSubDevicesInContext = false;
offset = commandStreamReceiver.commandStream.getUsed();
flushTask(commandStreamReceiver);
@ -657,7 +657,7 @@ HWTEST_F(CommandStreamReceiverFlushTaskTests, givenMultiOsContextCapableSetAndDi
commandStreamReceiver.multiOsContextCapable = false;
flushTaskFlags.useGlobalAtomics = true;
flushTaskFlags.numDevicesInContext = 2;
flushTaskFlags.areMultipleSubDevicesInContext = true;
offset = commandStreamReceiver.commandStream.getUsed();
flushTask(commandStreamReceiver);