mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-10 23:56:36 +08:00
Extend zeCommandListAppendMemoryPrefetch to migrate to associated device
Related-To: NEO-6740 Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
1f7fd45251
commit
f03f530327
@@ -258,7 +258,7 @@ TEST_F(IoctlHelperPrelimFixture, givenDrmAllocationWhenSetMemPrefetchSucceedsThe
|
||||
allocation.bufferObjects[0] = &bo;
|
||||
|
||||
drm->ioctlRetVal = 0;
|
||||
EXPECT_TRUE(allocation.setMemPrefetch(drm.get()));
|
||||
EXPECT_TRUE(allocation.setMemPrefetch(drm.get(), 0));
|
||||
}
|
||||
|
||||
TEST_F(IoctlHelperPrelimFixture, givenDrmAllocationWhenSetMemPrefetchFailsThenReturnFalse) {
|
||||
@@ -267,7 +267,7 @@ TEST_F(IoctlHelperPrelimFixture, givenDrmAllocationWhenSetMemPrefetchFailsThenRe
|
||||
allocation.bufferObjects[0] = &bo;
|
||||
|
||||
drm->ioctlRetVal = EINVAL;
|
||||
EXPECT_FALSE(allocation.setMemPrefetch(drm.get()));
|
||||
EXPECT_FALSE(allocation.setMemPrefetch(drm.get(), 0));
|
||||
}
|
||||
|
||||
TEST_F(IoctlHelperPrelimFixture, givenVariousDirectSubmissionFlagSettingWhenCreateDrmContextIsCalledThenCorrectFlagsArePassedToIoctl) {
|
||||
|
||||
Reference in New Issue
Block a user