Skip to content

Commit 88f52fa

Browse files
committed
Add brief introduction of lowest latency memspace
1 parent 4928799 commit 88f52fa

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,11 @@ Can be retrieved using umfMemspaceHighestCapacityGet.
228228
Memspace backed by an aggregated list of NUMA nodes identified as highest bandwidth after selecting each available NUMA node as the initiator.
229229
Querying the bandwidth value requires HMAT support on the platform. Calling `umfMemspaceHighestBandwidthGet()` will return NULL if it's not supported.
230230

231+
#### Lowest latency memspace
232+
233+
Memspace backed by an aggregated list of NUMA nodes identified as lowest latency after selecting each available NUMA node as the initiator.
234+
Querying the latency value requires HMAT support on the platform. Calling `umfMemspaceLowestLatencyGet()` will return NULL if it's not supported.
235+
231236
### Proxy library
232237

233238
UMF provides the UMF proxy library (`umf_proxy`) that makes it possible

include/umf/memspace.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,14 @@ umf_memspace_handle_t umfMemspaceHostAllGet(void);
5757
umf_memspace_handle_t umfMemspaceHighestCapacityGet(void);
5858

5959
/// \brief Retrieves predefined highest bandwidth memspace.
60-
/// \return highest bandwidth memspace handle on success or NULL on failure.
60+
/// \return highest bandwidth memspace handle on success or NULL on
61+
/// failure (no HMAT support).
6162
///
6263
umf_memspace_handle_t umfMemspaceHighestBandwidthGet(void);
6364

6465
/// \brief Retrieves predefined lowest latency memspace.
65-
/// \return lowest latency memspace handle on success or NULL on failure.
66+
/// \return lowest latency memspace handle on success or NULL on
67+
/// failure (no HMAT support).
6668
///
6769
umf_memspace_handle_t umfMemspaceLowestLatencyGet(void);
6870

0 commit comments

Comments
 (0)