From 8944e5f67fcbef46f1759715dc8b82b1007bff79 Mon Sep 17 00:00:00 2001 From: raver119 Date: Sat, 17 Aug 2019 14:51:54 +0300 Subject: [PATCH] no thread_local for cpu Signed-off-by: raver119 --- libnd4j/include/execution/cpu/LaunchContext.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libnd4j/include/execution/cpu/LaunchContext.cpp b/libnd4j/include/execution/cpu/LaunchContext.cpp index 47207719f..b3aec93a7 100644 --- a/libnd4j/include/execution/cpu/LaunchContext.cpp +++ b/libnd4j/include/execution/cpu/LaunchContext.cpp @@ -23,7 +23,9 @@ #include #include -thread_local nd4j::ContextBuffers contextBuffers = nd4j::ContextBuffers(); + +nd4j::ContextBuffers contextBuffers = nd4j::ContextBuffers(); + namespace nd4j {