-
Notifications
You must be signed in to change notification settings - Fork 0
A trivial implementation of multithreaded broadcasting in julia.
License
AbhinavPraveen/MTBroadcast.jl
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
A trivial implementation of multithreaded broadcasting in julia. mtB(f,x...[; n = Threads.nthreads()]) Applies the function 'f' to the varargs 'x...' using 'n' threads and returns the output. mtBcall(f,x...[; n = Threads.nthreads()]) Assigns 'n' threads to apply the function 'f' to the varargs 'x...' and returns the generated task objects. You may wait.() or fetch.() these objects. This is significantly faster than mtB() if the task objects can be handled efficiently.
About
A trivial implementation of multithreaded broadcasting in julia.
Topics
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published