diff --git a/libnd4j/include/execution/cpu/LaunchContext.cpp b/libnd4j/include/execution/cpu/LaunchContext.cpp index 60e29c7ca..7b3070085 100644 --- a/libnd4j/include/execution/cpu/LaunchContext.cpp +++ b/libnd4j/include/execution/cpu/LaunchContext.cpp @@ -23,7 +23,7 @@ #include #include -#ifdef IOS_BUILD +#if defined(IOS_BUILD) || defined(APPLE_BUILD) || defined(ANDROID_BUILD) nd4j::ContextBuffers contextBuffers = nd4j::ContextBuffers(); #else thread_local nd4j::ContextBuffers contextBuffers = nd4j::ContextBuffers();