You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 18, 2023. It is now read-only.
Currently, when broadcast and map are used to apply a function f which accepts multiple inputs to the appropriate number of arrays of data, each input is treated individually as Julia does not appear to have built-in functionality for performing a multiple-output broadcast / map. This strategy will incur an increased number of memops if it is not the case that all of the input and output data can be cached (L2?), specifically, if N is the number of inputs and P the length of the arrays being broadcasted / mapped over, we incur an extra O(PN) memops due to the need to re-cache the output for each input. Furthermore, we incur an extra O(PN) integer arithmetic operations due to the extra for-loops required. Having Julia implement multi-output map and broadcast operations would therefore yield significant computational savings in certain situations.
The text was updated successfully, but these errors were encountered:
Currently, when
broadcast
andmap
are used to apply a functionf
which accepts multiple inputs to the appropriate number of arrays of data, each input is treated individually as Julia does not appear to have built-in functionality for performing a multiple-outputbroadcast
/map
. This strategy will incur an increased number of memops if it is not the case that all of the input and output data can be cached (L2?), specifically, ifN
is the number of inputs andP
the length of the arrays being broadcasted / mapped over, we incur an extraO(PN)
memops due to the need to re-cache the output for each input. Furthermore, we incur an extraO(PN)
integer arithmetic operations due to the extra for-loops required. Having Julia implement multi-outputmap
andbroadcast
operations would therefore yield significant computational savings in certain situations.The text was updated successfully, but these errors were encountered: