BliContractor.jl
BliContractor.jl copied to clipboard
Number of threads
Is there a way to control the number of threads?
If not, could we add something like
function set_num_threads(n)
tblis_set_num_threads = dlsym(BliContractor.dll_obj, :tblis_set_num_threads)
ccall(tblis_set_num_threads, Cvoid, (Cuint,), n)
end
Hi! Thanks for the issue.
I've added a wrapper routine for this.
Would you mind trying directly from GitHub?
] add https://github.com/xrq-phys/BliContractor.jl
I'll try also allowing setting degree of parallelism on each loop level (IC/JC/JR). Sorry forgot to reply after that commit 3 days ago 😄