thread local jit kernels

test=develop
fix-readmd
tensor-tang 6 years ago
parent 9131a35676
commit 3ee8f2c6cf

@ -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;
}

Loading…
Cancel
Save