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
The Mandelbrot calculation isn't done with CUDA in the last example of Mandelbrot. For sure, it's done with @jit, because create_fractal function is used. To launch CUDA you need to launch mandel_kernel function and of course, as you said copy data to CUDA before.
And the interesting question is why the second launch of the create_fractal function was faster. Because Numba has to compile function and this takes time. On the second time, the cached machine code will be launched much faster.
The text was updated successfully, but these errors were encountered:
The issue is found in https://github.com/noahgift/cloud-data-analysis-at-scale/blob/master/GPU_Programming.ipynb.
The Mandelbrot calculation isn't done with CUDA in the last example of Mandelbrot. For sure, it's done with @jit, because create_fractal function is used. To launch CUDA you need to launch mandel_kernel function and of course, as you said copy data to CUDA before.
And the interesting question is why the second launch of the create_fractal function was faster. Because Numba has to compile function and this takes time. On the second time, the cached machine code will be launched much faster.
The text was updated successfully, but these errors were encountered: