disable threadlocal for apple
Signed-off-by: raver119 <raver119@gmail.com>
This commit is contained in:
parent
5de00682ce
commit
ffae024cda
@ -23,7 +23,7 @@
|
||||
#include <exceptions/cuda_exception.h>
|
||||
#include <thread>
|
||||
|
||||
#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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user