Skip to content

Commit 3c796b7

Browse files
author
Avik Pal
committed
Comment out
1 parent 97f11a8 commit 3c796b7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/nnpack/NNPACK.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ end
99
include(depsjl_path)
1010

1111
const nnlib_interface_path = joinpath(dirname(@__FILE__), "interface.jl")
12-
const shared_threadpool = Ref(C_NULL)
12+
# const shared_threadpool = Ref(C_NULL)
1313

1414
@init begin
1515
check_deps()
@@ -30,6 +30,6 @@ const shared_threadpool = Ref(C_NULL)
3030
catch
3131
global NNPACK_CPU_THREADS = 4
3232
end
33-
shared_threadpool[] = pthreadpool_create(NNPACK_CPU_THREADS)
33+
global shared_threadpool[] = pthreadpool_create(NNPACK_CPU_THREADS)
3434
end
3535
end

0 commit comments

Comments
 (0)