You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+21-1Lines changed: 21 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ The Unified Memory Framework (UMF) is a library for constructing allocators and
13
13
14
14
A UMF memory pool is a combination of a pool allocator and a memory provider. A memory provider is responsible for coarse-grained memory allocations and management of memory pages, while the pool allocator controls memory pooling and handles fine-grained memory allocations.
15
15
16
-
Pool allocator can leverage existing allocators (e.g. jemalloc or tbbmalloc) or be written from scratch.
16
+
Pool allocator can leverage existing allocators (e.g. jemalloc or tbbmalloc) or be written from scratch.
17
17
18
18
UMF comes with predefined pool allocators (see include/pool) and providers (see include/provider). UMF can also work with user-defined pools and providers that implement a specific interface (see include/umf/memory_pool_ops.h and include/umf/memory_provider_ops.h)
19
19
@@ -98,6 +98,22 @@ $ cd build
98
98
$ cmake {path_to_source_dir}
99
99
$ make
100
100
```
101
+
102
+
### Sanitizers
103
+
104
+
List of sanitizers available on Linux:
105
+
- AddressSanitizer
106
+
- UndefinedBehaviorSanitizer
107
+
- ThreadSanitizer
108
+
- Is mutually exclusive with other sanitizers.
109
+
- MemorySanitizer
110
+
- Requires linking against MSan-instrumented libraries to prevent false positive reports. More information [here](https://github.com/google/sanitizers/wiki/MemorySanitizerLibcxxHowTo).
111
+
112
+
List of sanitizers available on Windows:
113
+
- AddressSanitizer
114
+
115
+
Listed sanitizers can be enabled with appropriate [CMake options](#cmake-standard-options).
116
+
101
117
## Contributions
102
118
103
119
All code has to be formatted using clang-format. To check the formatting do:
@@ -131,3 +147,7 @@ List of options provided by CMake:
131
147
| UMF_ENABLE_POOL_TRACKING | Build UMF with pool tracking | ON/OFF | ON |
132
148
| UMF_DEVELOPER_MODE | Treat warnings as errors and enables additional checks | ON/OFF | OFF |
133
149
| UMF_FORMAT_CODE_STYLE | Add clang-format-check and clang-format-apply targets to make | ON/OFF | OFF |
0 commit comments