mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
Remove reuseBO from createGraphicsAllocationFromSharedHandle
Change-Id: Ia7af1cdd8e3986b8af7c542032d2767303865382
This commit is contained in:
committed by
sys_ocldev
parent
d08aa81a9d
commit
f6743ced2a
@@ -983,7 +983,7 @@ TEST(OsAgnosticMemoryManager, givenDefaultMemoryManagerWhenCreateGraphicsAllocat
|
||||
OsAgnosticMemoryManager memoryManager;
|
||||
osHandle handle = 1;
|
||||
auto size = 4096u;
|
||||
auto sharedAllocation = memoryManager.createGraphicsAllocationFromSharedHandle(handle, false, false);
|
||||
auto sharedAllocation = memoryManager.createGraphicsAllocationFromSharedHandle(handle, false);
|
||||
EXPECT_NE(nullptr, sharedAllocation);
|
||||
EXPECT_FALSE(sharedAllocation->isCoherent());
|
||||
EXPECT_NE(nullptr, sharedAllocation->getUnderlyingBuffer());
|
||||
|
||||
Reference in New Issue
Block a user