Is there a way to get J to use multiple cores ? I thought part of the benefit of APL/J was that the language constructs lent themselves well to parallel solutions.
Looking at my CPU usage (I'm on OSX) there's clearly only a single processor in use.
I've got a heavy-ish function f acting on a list, and I don't see why it couldn't divide the list into 4 pieces, and re-assemble the results ?
ArrayFire may be worth looking into. Its OpenCL with support for AMD/nvidia and backward fallback to CPU. Its array processing. It should bind easily to J, as it does in matlab.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With