Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: performance falls off a cliff as iterations increase moderately #3

Open
mjbaldwin opened this issue Jul 5, 2024 · 0 comments
Open

Comments

@mjbaldwin
Copy link

The given code examples use 50 iterations, which executes performantly on the GPU, but is only useful for "toy" fractal renderings.

With just a little bit of zoom, you'll quickly be wanting 1,000 or 10,000 iterations (or far more).

Unfortunately GPU compilation of the function then takes minutes and/or runs out of memory completely, due to "loop unrolling". I've commented on the code Fractal Jax uses as a model (which suffers the same issue), and a solution is given here.

I'm not expecting Fractal Jax to be updated, but I just want to leave this issue open as a warning in case anyone else struggles with Fractal Jax performance, and these links explain how to fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant