mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-04 23:56:39 +08:00
Add debug functionality to track dynamic allocations.
- available only via manual build with ENABLE_DYNAMIC_MEMORY_TRACKING. Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
308f9ccfff
commit
0c0603966b
@@ -59,4 +59,8 @@ set(NEO_CORE_MEMORY_MANAGER
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/page_table.inl
|
||||
)
|
||||
|
||||
if(ENABLE_DYNAMIC_MEMORY_TRACKING)
|
||||
list(APPEND NEO_CORE_MEMORY_MANAGER ${CMAKE_CURRENT_SOURCE_DIR}/dynamic_memory_tracking.cpp)
|
||||
endif()
|
||||
|
||||
set_property(GLOBAL PROPERTY NEO_CORE_MEMORY_MANAGER ${NEO_CORE_MEMORY_MANAGER})
|
||||
|
||||
Reference in New Issue
Block a user