mandelbrot_benchmark.backends package¶
Submodules¶
mandelbrot_benchmark.backends.jax module¶
mandelbrot_benchmark.backends.numba module¶
mandelbrot_benchmark.backends.taichi module¶
- mandelbrot_benchmark.backends.taichi.mandebrot_taichi(c: Any) Any[source]¶
Taichi implementation of the Mandelbrot set.
Since Taichi does not support complex numbers directly, internally the input is stacked as a +1D array with real and imaginary parts.
Taichi’s from_numpy() and to_numpy() are !!NOT!! zero-copy, so we pass non-Taichi arrays directly to the kernel. (See “Note” in https://docs.taichi-lang.org/docs/external)
See also
https//docs.taichi-lang.org/docs/external