More fixes for NUMA on macOS

This commit is contained in:
Sergey Sharybin 2018-11-28 18:05:35 +01:00
parent 8a6aa15903
commit 2b371b65bc

@ -31,7 +31,7 @@
////////////////////////////////////////////////////////////////////////////////
// Initialization.
NUMAAPIResult numaAPI_Initialize(void) {
NUMAAPI_Result numaAPI_Initialize(void) {
return NUMAAPI_NOT_AVAILABLE;
}
@ -42,11 +42,16 @@ int numaAPI_GetNumNodes(void) {
return 0;
}
bool numApiIsNodeAvailable(int node) {
bool numaAPI_IsNodeAvailable(int node) {
(void) node; // Ignored.
return false;
}
int numaAPI_GetNumNodeProcessors(int node) {
(void) node; // Ignored.
return 0;
}
////////////////////////////////////////////////////////////////////////////////
// Affinities.