diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-11-28 20:05:35 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-11-28 20:05:35 +0300 |
commit | 2b371b65bc9911dacabd18d5837f83d1a2cb576a (patch) | |
tree | aa48a85909e457541d3f4418c5783b290a30f8a9 | |
parent | 8a6aa159034a6e7ee44becb09d8d5d4add040cff (diff) |
More fixes for NUMA on macOS
-rw-r--r-- | intern/numaapi/source/numaapi_stub.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/intern/numaapi/source/numaapi_stub.c b/intern/numaapi/source/numaapi_stub.c index b850e43e195..e054d71018c 100644 --- a/intern/numaapi/source/numaapi_stub.c +++ b/intern/numaapi/source/numaapi_stub.c @@ -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. |