[Bf-blender-cvs] [2b371b65bc9] master: More fixes for NUMA on macOS
Sergey Sharybin
noreply at git.blender.org
Wed Nov 28 18:05:47 CET 2018
Commit: 2b371b65bc9911dacabd18d5837f83d1a2cb576a
Author: Sergey Sharybin
Date: Wed Nov 28 18:05:35 2018 +0100
Branches: master
https://developer.blender.org/rB2b371b65bc9911dacabd18d5837f83d1a2cb576a
More fixes for NUMA on macOS
===================================================================
M intern/numaapi/source/numaapi_stub.c
===================================================================
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.
More information about the Bf-blender-cvs
mailing list