Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2018-11-28 20:05:35 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2018-11-28 20:05:35 +0300
commit2b371b65bc9911dacabd18d5837f83d1a2cb576a (patch)
treeaa48a85909e457541d3f4418c5783b290a30f8a9 /intern/numaapi
parent8a6aa159034a6e7ee44becb09d8d5d4add040cff (diff)
More fixes for NUMA on macOS
Diffstat (limited to 'intern/numaapi')
-rw-r--r--intern/numaapi/source/numaapi_stub.c9
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.