Open
Description
The random functions in are currently not part of JIT. This means that ArrayFire allocates and creates random values for each call of the function before it can be used by other JIT nodes.
With the help of the multi-eval functionality recently added to JIT, we could calculate the random values as part of the JIT engine and write the random values to memory thereby reducing the kernel launch overhead.