Skip to content

Commit

Permalink
Merge pull request oneapi-src#796 from igchor/umf_critnib
Browse files Browse the repository at this point in the history
[umf] implement memory tracking using critnib
  • Loading branch information
pbalcer authored Sep 7, 2023
2 parents a3120e7 + fe44f26 commit 6d59b4c
Show file tree
Hide file tree
Showing 11 changed files with 1,160 additions and 88 deletions.
9 changes: 8 additions & 1 deletion source/common/unified_malloc_framework/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,17 @@
set(UMF_SOURCES
src/memory_pool.c
src/memory_provider.c
src/memory_tracker.cpp
src/memory_tracker.c
src/memory_provider_get_last_failed.cpp
src/critnib/critnib.c
)

if(MSVC)
set(UMF_SOURCES ${UMF_SOURCES} src/utils/utils_windows.cpp src/memory_tracker_windows.cpp)
else()
set(UMF_SOURCES ${UMF_SOURCES} src/utils/utils_posix.c)
endif()

if(UMF_BUILD_SHARED_LIBRARY)
message(WARNING "Unified Malloc Framework is still an early work in progress."
"There are no API/ABI backward compatibility guarantees. There will be breakages."
Expand Down
Loading

0 comments on commit 6d59b4c

Please sign in to comment.