mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-24 21:18:24 +08:00
Allow Device creating multiple CSRs [4/n]
- Introduce additional RCS engine - Set fixed size for Engines array Change-Id: I06533a425684b64214f956783b07877e6157935b Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
cd5f85052e
commit
7781089740
@@ -43,8 +43,8 @@ HWTEST_P(CreateCommandStreamReceiverTest, givenCreateCommandStreamWhenCsrIsSetTo
|
||||
overrideCommandStreamReceiverCreation = true;
|
||||
DebugManager.flags.SetCommandStreamReceiver.set(csrType);
|
||||
executionEnvironment->commandStreamReceivers.resize(1);
|
||||
executionEnvironment->commandStreamReceivers[0].push_back(std::unique_ptr<CommandStreamReceiver>(createCommandStream(hwInfo,
|
||||
*executionEnvironment)));
|
||||
executionEnvironment->commandStreamReceivers[0][0] = std::unique_ptr<CommandStreamReceiver>(createCommandStream(hwInfo,
|
||||
*executionEnvironment));
|
||||
|
||||
if (csrType < CommandStreamReceiverType::CSR_TYPES_NUM) {
|
||||
EXPECT_NE(nullptr, executionEnvironment->commandStreamReceivers[0][0].get());
|
||||
|
||||
Reference in New Issue
Block a user