no thread_local for cpu

Signed-off-by: raver119 <raver119@gmail.com>
master
raver119 2019-08-17 14:51:54 +03:00
parent 62495dd77b
commit 8944e5f67f
1 changed files with 3 additions and 1 deletions

View File

@ -23,7 +23,9 @@
#include <exceptions/cuda_exception.h>
#include <thread>
thread_local nd4j::ContextBuffers contextBuffers = nd4j::ContextBuffers();
nd4j::ContextBuffers contextBuffers = nd4j::ContextBuffers();
namespace nd4j {