提交 3ee8f2c6 编写于 作者: T tensor-tang

thread local jit kernels

test=develop
上级 9131a356
......@@ -24,7 +24,7 @@ namespace jitkernel {
namespace jit = platform::jit;
KernelPool& KernelPool::Instance() {
static KernelPool g_jit_kernels;
static thread_local KernelPool g_jit_kernels;
return g_jit_kernels;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册