diff --git a/shared/source/memory_manager/multi_graphics_allocation.cpp b/shared/source/memory_manager/multi_graphics_allocation.cpp index 835370e517..f3c6c6a4df 100644 --- a/shared/source/memory_manager/multi_graphics_allocation.cpp +++ b/shared/source/memory_manager/multi_graphics_allocation.cpp @@ -44,7 +44,7 @@ bool MultiGraphicsAllocation::isCoherent() const { return getDefaultGraphicsAllocation()->isCoherent(); } -std::vector const &MultiGraphicsAllocation::getGraphicsAllocations() const { +StackVec const &MultiGraphicsAllocation::getGraphicsAllocations() const { return graphicsAllocations; } diff --git a/shared/source/memory_manager/multi_graphics_allocation.h b/shared/source/memory_manager/multi_graphics_allocation.h index ab148ae92a..3a0e4d1f05 100644 --- a/shared/source/memory_manager/multi_graphics_allocation.h +++ b/shared/source/memory_manager/multi_graphics_allocation.h @@ -26,10 +26,10 @@ class MultiGraphicsAllocation { bool isCoherent() const; - std::vector const &getGraphicsAllocations() const; + StackVec const &getGraphicsAllocations() const; protected: - std::vector graphicsAllocations; + StackVec graphicsAllocations; }; } // namespace NEO