File tree Expand file tree Collapse file tree 3 files changed +22
-0
lines changed Expand file tree Collapse file tree 3 files changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -116,6 +116,15 @@ Mempolicy
116
116
.. doxygenfile :: mempolicy.h
117
117
:sections: define enum typedef func
118
118
119
+ Memtarget
120
+ ==========================================
121
+
122
+ TODO: Add general information about memtarges.
123
+
124
+ Memtarget
125
+ ------------------------------------------
126
+ .. doxygenfile :: memtarget.h
127
+ :sections: define enum typedef func
119
128
120
129
Inter-Process Communication
121
130
==========================================
Original file line number Diff line number Diff line change @@ -215,6 +215,10 @@ if(LINUX) # OS-specific functions are implemented only for Linux now
215
215
NAME mempolicy
216
216
SRCS memspaces/mempolicy.cpp
217
217
LIBS ${LIBNUMA_LIBRARIES} )
218
+ add_umf_test (
219
+ NAME memtarget
220
+ SRCS memspaces/memtarget.cpp
221
+ LIBS ${LIBNUMA_LIBRARIES} )
218
222
if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang" AND UMF_BUILD_FUZZTESTS )
219
223
add_subdirectory (fuzz )
220
224
endif ()
Original file line number Diff line number Diff line change
1
+ // Copyright (C) 2024 Intel Corporation
2
+ // Under the Apache License v2.0 with LLVM Exceptions. See LICENSE.TXT.
3
+ // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
4
+
5
+ #include " memspace_helpers.hpp"
6
+ #include < umf/memspace.h>
7
+ #include < umf/memtarget.h>
8
+
9
+ using umf_test::test;
You can’t perform that action at this time.
0 commit comments