mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-08 22:12:59 +08:00
Optimize zeCommandListCreate
Do not allocate heap if command list is copy only. Related-To: NEO-6821 Signed-off-by: Dominik Dabek <dominik.dabek@intel.com> Co-authored-by: Michal Mrozek <michal.mrozek@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
1aeb097a63
commit
fccda460d6
@@ -23,7 +23,7 @@ class CommandEncodeStatesFixture : public DeviceFixture {
|
||||
void SetUp() {
|
||||
DeviceFixture::SetUp();
|
||||
cmdContainer = std::make_unique<MyMockCommandContainer>();
|
||||
cmdContainer->initialize(pDevice, nullptr);
|
||||
cmdContainer->initialize(pDevice, nullptr, true);
|
||||
cmdContainer->setDirtyStateForAllHeaps(false);
|
||||
}
|
||||
void TearDown() {
|
||||
|
||||
Reference in New Issue
Block a user